diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/vor | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/vor')
-rw-r--r-- | community/vor/PKGBUILD | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/community/vor/PKGBUILD b/community/vor/PKGBUILD index f14b16d91..16f0651f0 100644 --- a/community/vor/PKGBUILD +++ b/community/vor/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 82073 2013-01-07 10:20:03Z arodseth $ +# $Id: PKGBUILD 101359 2013-11-23 12:39:11Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: tdy <tdy@gmx.com> # Contributor: nut543 <kfs1@online.no> pkgname=vor pkgver=0.5.5 -pkgrel=1 +pkgrel=2 pkgdesc='Classic spaceship versus asteroid field arcade game' -arch=('i686' 'x86_64') -url="http://jasonwoof.org/vor?" +arch=('x86_64' 'i686') +url='http://jasonwoof.org/vor' license=('GPL') depends=('sdl_image' 'sdl_mixer') makedepends=('gendesk') @@ -16,27 +16,22 @@ optdepends=('netpbm: for customizing game graphics' 'povray: for customizing game graphics') options=('!emptydirs') source=("http://qualdan.com/$pkgname/$pkgname-$pkgver.tar.bz2" - "$pkgname.png") + "$pkgname.png") sha256sums=('ead1b9786741e26d37ff7c5185b7fe1e91f90f76ebed3785225312e323b7c7da' '07a805928f5cf2b3351e2b9ff820ea69352ad80faad43311889ffbd5f62da872') -_exec=('vor -f') build() { - cd "$srcdir" - gendesk - + gendesk -f --pkgname "$pkgname" --pkgdesc "$pkgdesc" cd "$pkgname-$pkgver" ./configure --prefix=/usr make LDFLAGS=-lm } package() { - cd "$srcdir/$pkgname-$pkgver" - - mkdir -p "$pkgdir/usr/bin" - make prefix=/usr DESTDIR="$pkgdir" install - install -Dm644 "../$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" - install -Dm644 "../$pkgname.desktop" \ + install -d "$pkgdir/usr/bin" + make -C "$pkgname-$pkgver" prefix=/usr DESTDIR="$pkgdir" install + install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" + install -Dm644 "$pkgname.desktop" \ "$pkgdir/usr/share/applications/$pkgname.desktop" } |