summaryrefslogtreecommitdiff
path: root/community-testing/naev/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/naev/PKGBUILD')
-rw-r--r--community-testing/naev/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community-testing/naev/PKGBUILD b/community-testing/naev/PKGBUILD
new file mode 100644
index 000000000..c4d753cf9
--- /dev/null
+++ b/community-testing/naev/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 63212 2012-01-30 19:03:10Z ibiru $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Johan Rehnberg <cleanrock@gmail.com>
+
+pkgname=naev
+pkgver=0.5.0
+pkgrel=2
+pkgdesc='2D action/rpg space game'
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/naev/"
+license=('GPL3')
+depends=('openal' 'libvorbis' 'sdl_image' 'sdl_mixer' 'libgl' 'libxml2' 'freetype2' 'libpng' 'naev-data')
+makedepends=('freeglut')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('f7d754a17ace87aac540d0d6d48313d6')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i "41 i #include <zlib.h>" src/opengl.c
+
+ ./configure --prefix=/usr --disable-debug --disable-shave --with-ndata-path=/usr/share/naev/ndata-${pkgver}
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}