updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / zork1 / PKGBUILD
blob93bccb5f4f456f033bc5d429bec122e63e643a85
1 # Zork I adventure game
3 # Contributor: David Rosenstrauch <darose@darose.net>
5 pkgname=zork1
6 pkgver=1
7 pkgrel=8
8 pkgdesc="Zork I 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=('f6dd915ea7315985536efb39154f3433' '961576a5d7de0363d40ccdb3f08512b3')
13 arch=('any')
14 license="custom"
16 build() {
17   cd $srcdir
19   install -D -m644 DATA/ZORK1.DAT $startdir/pkg/usr/share/zork/$pkgname/ZORK1.DAT
20   echo "#!/bin/sh" > $pkgname
21   echo jzip -m /usr/share/zork/$pkgname/ZORK1.DAT >> $pkgname
22   install -D -m755 $pkgname $startdir/pkg/usr/bin/$pkgname
23   install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE