updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / nfrotz / PKGBUILD
blob9b67c7f85d6f168317a67bd45f84efe2b3e26176
1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
2 pkgname=nfrotz
3 pkgver=0.3.3
4 pkgrel=1
5 pkgdesc="Z-machine interpreter for playing Interactive Fiction games, with support for unicode"
6 arch=(i686 x86_64)
7 url="http://www.stanford.edu/~mcmartin/if/"
8 license=('GPL')
9 depends=('glibc')
10 makedepends=('unzip')
11 #provides=()
12 #conflicts=()
13 #replaces=()
14 #backup=()
15 groups=(inform)
16 #options=()
17 #install=
18 source=(http://ifarchive.giga.or.at/if-archive/infocom/interpreters/frotz/$pkgname-$pkgver.tgz)
19 #noextract=()
20 md5sums=(78e0cafcb30b1539629ea5f5b8a61dbf)
23 build() {
24  sed -i -e "s/\/usr\/local/..\/..\/pkg\/usr/g" $startdir/src/$pkgname-$pkgver/Makefile
25   cd $startdir/src/$pkgname-$pkgver
26   ./configure --prefix=/usr
27 #  sed -i -e "s/\/usr\/local/pkg\/usr/g" Makefile
28   make || return 1
29   make DESTDIR=$startdir/pkg install || return 1