updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / libz80 / PKGBUILD
blob3599c6fe024f876a2aab994611d333cddefd6df0
1 # Contributor: Harley Laue <losinggeneration@gmail.com>
2 pkgname=libz80
3 pkgver=1.99
4 pkgrel=2
5 pkgdesc="A simple and clean Z80 emulation library."
6 arch=(i686 x86_64 ppc)
7 url="http://libz80.sourceforge.net/"
8 license=('GPL')
9 depends=('glibc')
10 makedpends=('patch')
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
12         libz80.gcc4-fix.makefile.patch)
13 md5sums=('cf5c6f37baf6f1db5b7b422c7810cbe4'
14          '42057266127107c170f55f94d9adc24e')
16 build() {
17   cd "$srcdir/$pkgname"
18   patch -p1 -i ../libz80.gcc4-fix.makefile.patch
20   make -j1 || return 1
21   make DESTDIR="$pkgdir/" install
23   # Is this a bad way to go about this?
24   find $pkgdir -type f -exec chmod go-w {} \;
27 # vim:set ts=2 sw=2 et: