updated on Sat Jan 14 16:01:55 UTC 2012
[aur-mirror.git] / netmaze / PKGBUILD
blobf92dada6bb89ffdae8dfc46b4dc05773bbad580a
1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributor: froggie <sullivanva@gmail.com>
3 pkgname=netmaze
4 pkgver=0.81
5 pkgrel=2
6 pkgdesc="Smiley network shooter game"
7 url="ftp://sunsite.unc.edu/pub/Linux/games/multiplayer/mazewars/"
8 arch=('i686' 'x86_64')
9 license=('GPL2')
10 depends=('libxext')
11 makedepends=('imake')
12 source=(ftp://sunsite.unc.edu/pub/Linux/games/multiplayer/mazewars/netmaze-0.81.tgz)
13 md5sums=('4fc906f82dcfeb9e10fa234331407d62')
15 build() {
16   cd $srcdir/netmaze/
17   patch -i ../../netmaze.diff
18   touch netmaze.man netserv.man
19   sed "s/share\/games/share/g" -i config.h
20   xmkmf
21   make || return 1
23 package() {
24   cd $srcdir/netmaze/
25   make DESTDIR=$pkgdir install
26   install -d $pkgdir/usr/share/netmaze/{bitmaps,lib,mazes}/
27   install -m 644 bitmaps/* $pkgdir/usr/share/netmaze/bitmaps/
28   install -m 644 lib/* $pkgdir/usr/share/netmaze/lib/
29   install -m 644 mazes/* $pkgdir/usr/share/netmaze/mazes/