updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / pvpgn / PKGBUILD
blobebf1f058b8a30c8ecdd9864857496e64005df515
1 # Contributor: David Valentim Dias <dvdscripter@gmail.com>
2 pkgname=pvpgn
3 pkgver=1.99.r384
4 pkgrel=1
5 pkgdesc="A bnetd based gaming network server emulation project"
6 arch=('i686')
7 url="http://pvpgn.berlios.de"
8 license=('GPL')
9 depends=('zlib' 'libpcap')
10 makedepends=('cmake')
11 source=(http://download.berlios.de/pvpgn/$pkgname-$pkgver.tar.bz2 pvpgn pvpgn.conf)
12 md5sums=('d047eaa7474b8949ab1a6b8dffd679c0')
14 build() {
15   cd "$startdir/src/$pkgname-$pkgver"
16   cmake . -DCMAKE_INSTALL_PREFIX=/usr -DLOCALSTATE_INSTALL_DIR=/var/pvpgn -DSYSCONF_INSTALL_DIR=/etc/pvpgn
17   make || return 1
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: