updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / zork2 / PKGBUILD
blobf3ac0d6318b313b82c7bae0194657d9090e8200b
1 # Zork II adventure game
3 # Contributor: David Rosenstrauch <darose@darose.net>
5 pkgname=zork2
6 pkgver=1
7 pkgrel=8
8 pkgdesc="Zork II 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=('ab521209656948516351996263a8ad34' 'e1d314b3b784734c1a365a04ffff96c4')
13 arch=('any')
14 license="custom"
16 build() {
17   cd $srcdir
19   install -D -m644 DATA/ZORK2.DAT $startdir/pkg/usr/share/zork/$pkgname/ZORK2.DAT
20   echo "#!/bin/sh" > $pkgname
21   echo jzip -m /usr/share/zork/$pkgname/ZORK2.DAT >> $pkgname
22   install -D -m755 $pkgname $startdir/pkg/usr/bin/$pkgname
23   install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE