1 # Contributor: Eric Forgeot < http://anamnese.online.fr >
6 pkgdesc="a clone of the classic ARCHON game."
8 url="http://xarchon.seul.org"
11 source=(http://xarchon.seul.org/${pkgname}-${pkgver}.tar.gz http://ftp.de.debian.org/debian/pool/main/x/xarchon/${pkgname}_${pkgver}-10.2.diff.gz)
12 md5sums=('491dea5b4e61ed13cd988d1c184a8ef0 e716ee1df581a6c9d540c99127f24ca1')
17 mv ${pkgname}-${pkgver} ${pkgname}-${pkgver}.orig
18 patch -p0 <xarchon_0.50-10.2.diff
19 cd $srcdir/${pkgname}-${pkgver}.orig
20 ./configure --prefix=/usr
21 # if you use the http://ftp.de.debian.org/debian/pool/main/x/xarchon/${pkgname}_${pkgver}.orig.tar.gz :
22 # sed -i -e "s/\/usr\/bin\/install/\/bin\/install/g" Makefile
23 # sed -i -e "s/\/usr\/bin\/install/\/bin\/install/g" data/Makefile
24 # sed -i -e "s/\/usr\/bin\/install/\/bin\/install/g" src/Makefile
26 install -d $pkgdir/usr/share/xarchon/archon
27 # we copy those folders first otherwise it won't install
28 cp -fr $srcdir/${pkgname}-${pkgver}.orig/data/archon $pkgdir/usr/share/xarchon/
29 make DESTDIR=$pkgdir install