updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / zork3 / PKGBUILD
blob769e4b613e1db4899230b9f96010de65d5eace72
1 # Zork III adventure game
3 # Contributor: David Rosenstrauch <darose@darose.net>
5 pkgname=zork3
6 pkgver=1
7 pkgrel=8
8 pkgdesc="Zork III adventure game (for Infocom's z-code interpreter)"
9 url="http://www.csd.uwo.ca/Infocom/"
10 depends=(jzip)
11 source=(http://www.csd.uwo.ca/Infocom/Download/$pkgname.zip LICENSE)
12 md5sums=('c1a15e9c56267366fa54476baa6fb7d4' '0d52f90e8c314686da4d410581f2c8a6')
13 arch=('any')
14 license="custom"
16 build() {
17   cd $srcdir
19   install -D -m644 DATA/ZORK3.DAT $startdir/pkg/usr/share/zork/$pkgname/ZORK3.DAT
20   echo "#!/bin/sh" > $pkgname
21   echo jzip -m /usr/share/zork/$pkgname/ZORK3.DAT >> $pkgname
22   install -D -m755 $pkgname $startdir/pkg/usr/bin/$pkgname
23   install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE