diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/vor/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/vor/PKGBUILD')
-rw-r--r-- | community/vor/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/vor/PKGBUILD b/community/vor/PKGBUILD new file mode 100644 index 000000000..f14b16d91 --- /dev/null +++ b/community/vor/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 82073 2013-01-07 10:20:03Z 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 +pkgdesc='Classic spaceship versus asteroid field arcade game' +arch=('i686' 'x86_64') +url="http://jasonwoof.org/vor?" +license=('GPL') +depends=('sdl_image' 'sdl_mixer') +makedepends=('gendesk') +optdepends=('netpbm: for customizing game graphics' + 'povray: for customizing game graphics') +options=('!emptydirs') +source=("http://qualdan.com/$pkgname/$pkgname-$pkgver.tar.bz2" + "$pkgname.png") +sha256sums=('ead1b9786741e26d37ff7c5185b7fe1e91f90f76ebed3785225312e323b7c7da' + '07a805928f5cf2b3351e2b9ff820ea69352ad80faad43311889ffbd5f62da872') +_exec=('vor -f') + +build() { + cd "$srcdir" + gendesk + + 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" \ + "$pkgdir/usr/share/applications/$pkgname.desktop" +} + +# vim:set ts=2 sw=2 et: |