updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / vor / PKGBUILD
blob6aa137076762d7226cbd30696035df875ec10156
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: nut543 <kfs1@online.no>
4 pkgname=vor
5 pkgver=0.5.4
6 pkgrel=1
7 pkgdesc="A classic spaceship versus asteroid field arcade game (Variations on Rockdodger)"
8 arch=('i686' 'x86_64')
9 url="http://jasonwoof.org/vor?"
10 license=('GPL')
11 depends=('sdl_image' 'sdl_mixer')
12 optdepends=('netpbm: for customizing game graphics'
13             'povray: for customizing game graphics')
14 source=(http://qualdan.com/$pkgname/$pkgname-$pkgver.tar.bz2
15         $pkgname.desktop $pkgname.png)
16 md5sums=('9a4aebdeb4f14d337fe6af40d965d798'
17          '14e6f8c2ff47552d55fe4b794c9feeb5'
18          'dd2aae5ec1cf1bfee5813582645681d6')
20 build() {
21   cd "$srcdir/$pkgname-$pkgver"
22   make prefix=/usr CFLAGS="$CFLAGS" || return 1
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
27   make prefix=/usr DESTDIR="$pkgdir" install
28   install -Dm644 ../$pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
29   install -Dm644 ../$pkgname.desktop \
30     "$pkgdir/usr/share/applications/$pkgname.desktop"