updated on Fri Jan 20 16:18:17 UTC 2012
[aur-mirror.git] / z80ex / PKGBUILD
blob2e26c20a4d43dfe017aa9aa35fa576efdda391f5
1 # Contributor: Christoph Zeiler <rabyte*gmail>
3 pkgname=z80ex
4 pkgver=1.1.19
5 pkgrel=1
6 pkgdesc="The portable ZiLOG Z80 CPU emulator designed as a library"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/z80ex/"
9 license=('GPL')
10 depends=('glibc')
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
12 md5sums=('8bbc086ed7dbe4590adc89115ae59b95')
14 build() {
15   cd $pkgname-$pkgver
17   sed   -e 's|-O2||g' \
18         -e '/ldconfig/d' \
19         -i Makefile
21   make
24 package() {
25   cd $pkgname-$pkgver
27   make INSTALL_PREFIX="$pkgdir"/usr install
28   find "$pkgdir" -type f -exec chmod 644 {} \;