updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / jzip / PKGBUILD
blob67e03a8ed4f4e15416d0071cdc48c02c5b7da74e
1 # jzip z-code game interpreter for Infocom games
3 # Contributor: David Rosenstrauch <darose@darose.net>
5 pkgname=jzip
6 pkgver=2.1
7 _dlpkgver=21-10oct2000
8 pkgrel=6
9 pkgdesc="Jzip is an interpreter for games in the Infocom Zcode story file format"
10 url="http://jzip.sourceforge.net/"
11 depends=(ncurses)
12 #source=(http://dl.sourceforge.net/$pkgname/$pkgname$_dlpkgver.zip makefile-patch.diff)
13 source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname$_dlpkgver.zip makefile-patch.diff LICENSE)
14 md5sums=('4c03c95bec15e45477899c12a545fc1d' '1625afeb6da07096571d3ccc964c01af' '54ec2719ddf62fd3805c732f058f1706')
15 arch=('i686' 'x86_64')
16 license="custom"
18 build() {
19   cd $startdir/src
20   cp unixio.mak Makefile
22   # apply patch to makefile
23   patch -Np0 < $startdir/src/makefile-patch.diff
25   make || return 1
27   install -D -m755 $pkgname $startdir/pkg/usr/bin/$pkgname
28   install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE