1 # Contributor: David Valentim Dias <dvdscripter@gmail.com>
5 pkgdesc="A bnetd based gaming network server emulation project"
7 url="http://pvpgn.berlios.de"
9 depends=('zlib' 'libpcap')
11 source=(http://download.berlios.de/pvpgn/$pkgname-$pkgver.tar.bz2 pvpgn pvpgn.conf)
12 md5sums=('d047eaa7474b8949ab1a6b8dffd679c0')
15 cd "$startdir/src/$pkgname-$pkgver"
16 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DLOCALSTATE_INSTALL_DIR=/var/pvpgn -DSYSCONF_INSTALL_DIR=/etc/pvpgn
18 make DESTDIR="$startdir/pkg" install
19 install -D -m755 ../pvpgn ${startdir}/pkg/etc/rc.d/pvpgn
20 install -D -m644 ../pvpgn.conf ${startdir}/pkg/etc/conf.d/pvpgn
21 mkdir -p ${startdir}/var/run/pvpgn
24 # vim:set ts=2 sw=2 et: