diff options
Diffstat (limited to 'community/naev/PKGBUILD')
-rw-r--r-- | community/naev/PKGBUILD | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/community/naev/PKGBUILD b/community/naev/PKGBUILD index 8da191d9c..629a4d257 100644 --- a/community/naev/PKGBUILD +++ b/community/naev/PKGBUILD @@ -1,45 +1,32 @@ -# $Id: PKGBUILD 23139 2010-08-07 06:55:11Z svenstaro $ +# $Id: PKGBUILD 47428 2011-05-23 01:57:56Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Johan Rehnberg <cleanrock@gmail.com> pkgname=naev -pkgver=0.4.2 -pkgrel=3 +pkgver=0.5.0beta2 +_pkgver=0.5.0-beta2 +pkgrel=1 pkgdesc='2D action/rpg space game' arch=('i686' 'x86_64' 'mips64el') 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" +source=("http://naev.googlecode.com/files/${pkgname}-${_pkgver}.tar.bz2" "naev.png" "naev.desktop") -md5sums=('307bec2704e98f0af6f13e50f2737b0c' +md5sums=('45d3abff357a347c3f2e9db93d184ba3' '5945aa4fa7c0b046ad48f2fb9cbbbdd3' '134032fb35eb2953e9a1bbee3a6dcf63') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname-$_pkgver" - ./configure --prefix=/usr --disable-debug --disable-shave --with-ndata-path=/usr/share/naev/ndata-${pkgver} + ./configure --prefix=/usr --disable-debug --disable-shave --with-ndata-path=/usr/share/naev/ndata-${_pkgver} make } package() { - cd "$srcdir/$pkgname-$pkgver" + 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/" } |