updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / gxemul / PKGBUILD
blob07e0cbbd01f0e9e4a97e87858da3339af774864b
1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
2 # Contributor: Laszlo Papp <djszapi2 at gmail dot com>
3 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
5 pkgname=gxemul
6 pkgver=0.6.0
7 pkgrel=1
8 pkgdesc='An instruction-level emulator capable of ARM, MIPS, PowerPC, and SuperH'
9 arch=('i686' 'x86_64')
10 url='http://gxemul.sourceforge.net/'
11 license=('GPL')
12 depends=('libx11')
13 source=("http://gxemul.sourceforge.net/src/gxemul-0.6.0.tar.gz")
14 md5sums=('bfdc4109ddd05361be0db0084dd3dbed')
16 build() {
17   cd ${pkgname}-${pkgver}
19   ./configure
21   make
24 package() {
25   cd ${pkgname}-${pkgver}
27   sed -i 's_$(PREFIX)/man/man1_$(PREFIX)/share/man/man1_' Makefile
29   make PREFIX=${pkgdir}/usr install
31   #install -Ds -m755 gxemul ${pkgdir}/usr/bin/gxemul
32   #install -d ${pkgdir}/usr/share/licenses/${pkgname}/
33   #install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/