summaryrefslogtreecommitdiff
path: root/community/naev
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/naev
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/naev')
-rw-r--r--community/naev/PKGBUILD45
-rw-r--r--community/naev/naev.desktop11
-rw-r--r--community/naev/naev.pngbin0 -> 1569 bytes
3 files changed, 56 insertions, 0 deletions
diff --git a/community/naev/PKGBUILD b/community/naev/PKGBUILD
new file mode 100644
index 000000000..0efa5756c
--- /dev/null
+++ b/community/naev/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 23139 2010-08-07 06:55:11Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Johan Rehnberg <cleanrock@gmail.com>
+
+pkgname=naev
+pkgver=0.4.2
+pkgrel=3
+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')
+options=( )
+source=("http://naev.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2"
+ "naev.png" "naev.desktop")
+md5sums=('307bec2704e98f0af6f13e50f2737b0c'
+ '5945aa4fa7c0b046ad48f2fb9cbbbdd3'
+ '134032fb35eb2953e9a1bbee3a6dcf63')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./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
+
+ install -m644 "$srcdir/$pkgname-$pkgver/conf.example" "$pkgdir/usr/share/doc/naev/"
+
+ mkdir -p "$pkgdir/usr/share/naev/"
+
+ mkdir -p "$pkgdir/usr/share/pixmaps/"
+ install -m644 "$srcdir/naev.png" "$pkgdir/usr/share/pixmaps/"
+
+ mkdir -p "$pkgdir/usr/share/applications/"
+ install -m644 "$srcdir/naev.desktop" "$pkgdir/usr/share/applications/"
+
+ mkdir -p "$pkgdir/usr/share/licenses/naev/"
+ install -m644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/naev/"
+}
diff --git a/community/naev/naev.desktop b/community/naev/naev.desktop
new file mode 100644
index 000000000..b66c906d0
--- /dev/null
+++ b/community/naev/naev.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=naev
+Comment=2D action/rpg space game
+Exec=naev
+Icon=naev.png
+Terminal=false
+Type=Application
+Categories=Application;Game;
+GenericName=
diff --git a/community/naev/naev.png b/community/naev/naev.png
new file mode 100644
index 000000000..f683c3dfb
--- /dev/null
+++ b/community/naev/naev.png
Binary files differ