updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / monopd / PKGBUILD
blob9716108a6b0130703e4027cc5c32f47b574a6863
1 # Maintainer : Tasos Latsas <tlatsas2000@gmail.com>
3 pkgname=monopd
4 pkgver=0.9.3
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 pkgdesc="A dedicated game server daemon for playing Monopoly-like board games"
8 url="http://www.robertjohnkaper.com/software/atlantik/"
9 license=('GPL')
10 depends=('libcapsinetwork' 'libmath++')
11 backup=(etc/monopd/monopd.conf)
12 source=(gcc4.3.patch \
13   http://ftp.de.debian.org/debian/pool/main/m/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz)
14 md5sums=('4aaadb534ce40348f77c63ce61e73fab' 'e1d9f3be887baf35fbb46886cea8038f')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   # remove -dist extension from config file
20   sed -i 's/monopd.conf-dist/monopd.conf/g' "conf/Makefile.in"
21   sed -i 's/monopd.conf-dist/monopd.conf/g' "conf/Makefile.am"
22   cp conf/monopd.conf-dist conf/monopd.conf
24   patch -Np1 -i "$srcdir/gcc4.3.patch"
25   ./configure --prefix=/usr --sysconfdir=/etc/$pkgname
26   make
29 package() {
30   cd "$srcdir/$pkgname-$pkgver"
31   make DESTDIR=$pkgdir install