diff options
author | root <root@rshg047.dnsready.net> | 2011-04-14 04:54:18 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-14 04:54:18 +0000 |
commit | 0917a0682e48c4261e47d743725d990f47f6ec95 (patch) | |
tree | 32b99e036a20918da470922bf40276cedcfe7506 /testing/bin86/PKGBUILD | |
parent | 9c49791f6e912bd4834f00f2c6b3a00e6c12bb73 (diff) |
Thu Apr 14 04:54:18 UTC 2011
Diffstat (limited to 'testing/bin86/PKGBUILD')
-rw-r--r-- | testing/bin86/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/bin86/PKGBUILD b/testing/bin86/PKGBUILD new file mode 100644 index 000000000..c3865a24e --- /dev/null +++ b/testing/bin86/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 119692 2011-04-13 17:22:23Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=bin86 +pkgver=0.16.18 +pkgrel=1 +pkgdesc="A complete 8086 assembler and loader" +arch=(i686 x86_64) +license=('GPL') +url="http://www.debath.co.uk/" +depends=('glibc') +source=(http://www.debath.co.uk/dev86//$pkgname-$pkgver.tar.gz + bin86-0.16.17-x86_64-1.patch) +md5sums=('914068fb649b93642d1cf21857b75699' + '92bdce7b0655cd2e9f83c83fc56d128e') + +build() { + cd $srcdir/$pkgname-$pkgver + if [ "$CARCH" = "x86_64" ]; then + patch -Np1 -i ../bin86-0.16.17-x86_64-1.patch + fi + make PREFIX=/usr +} + +package() { + cd $srcdir/$pkgname-$pkgver + mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1 + make PREFIX=$pkgdir/usr MANDIR=$pkgdir/usr/share/man/man1 install +} |