diff options
author | Chris Simpson | 2015-09-10 02:11:15 +0100 |
---|---|---|
committer | Chris Simpson | 2015-09-10 02:11:15 +0100 |
commit | afa1534fe0388abd5eed66ffa281ace1cda9699d (patch) | |
tree | 4c5b65982cd485daa7dd6b1fa178933a465db28d /PKGBUILD | |
download | aur-afa1534fe0388abd5eed66ffa281ace1cda9699d.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..55d187a4fc2c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Chris Simpson <csimpson.aur at gmail dot com> + +pkgname=jzintv +pkgver=1.0beta4 +pkgrel=1 +pkgdesc="Intellivision Emulator" +arch=('i686' 'x86_64' 'armv6h' 'armv7h') +url="http://spatula-city.org/~im14u2c/intv/" +license=('GPL') +depends=('gcc-libs' 'sdl') + +provides=('jzintv') +conflicts=('jzintv') + +source=('http://spatula-city.org/~im14u2c/intv/dl/jzintv-1.0-beta4-src.zip') +md5sums=('f0118ff87eefab719288ba7f234170f4') + +_rootdir="$pkgname-1.0-beta4" +_srcdir="$_rootdir/src" +_bindir="$_rootdir/bin" + +build() { + mkdir -p $_bindir + cd "$_srcdir" + sed -i '/^PROGS/,$d' {event,joy,jlp,util}/subMakefile + make OPT_FLAGS="$CFLAGS" LFLAGS="-L../lib -lm" +} + +package() { + install -Dm755 "$_bindir/$pkgname" "${pkgdir}/usr/bin/$pkgname" +} |