diff options
author | Beej Jorgensen | 2015-08-17 23:47:33 -0700 |
---|---|---|
committer | Beej Jorgensen | 2015-08-17 23:47:33 -0700 |
commit | 8556f46833a19b99f21179d1c0182aeeff701f42 (patch) | |
tree | 6c356c78b20d77eb08955fad89264499ef359a70 | |
download | aur-8556f46833a19b99f21179d1c0182aeeff701f42.tar.gz |
Added to AUR4, modernized PKGBUILD
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..850a38242562 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = nfrotz + pkgdesc = Z-machine interpreter for playing Interactive Fiction games, with support for unicode + pkgver = 0.3.3 + pkgrel = 2 + url = http://www.ifarchive.org/indexes/if-archiveXinfocomXinterpreters.html + arch = i686 + arch = x86_64 + license = GPL + makedepends = unzip + depends = glibc + source = http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/nfrotz-0.3.3.tgz + md5sums = 78e0cafcb30b1539629ea5f5b8a61dbf + +pkgname = nfrotz + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..461aae1212cd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Beej <beej@beej.us> +# Contributor: Eric Forgeot < http://ifiction.free.fr > +pkgname=nfrotz +pkgver=0.3.3 +pkgrel=2 +pkgdesc="Z-machine interpreter for playing Interactive Fiction games, with support for unicode" +arch=(i686 x86_64) +url="http://www.ifarchive.org/indexes/if-archiveXinfocomXinterpreters.html" +license=('GPL') +depends=('glibc') +makedepends=('unzip') +#groups=(inform) +source=(http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/$pkgname-$pkgver.tgz) +md5sums=('78e0cafcb30b1539629ea5f5b8a61dbf') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make -e \ + PREFIX="$pkgdir"/usr \ + MAN_PREFIX="$pkgdir"/usr \ + DESTDIR="$pkgdir" \ + install +} + |