blob: ac634403bd54b2b7de4dfd5bd3052ed49b2e12b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $Id: PKGBUILD 87909 2010-08-18 18:45:21Z andyrtr $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=bin86
pkgver=0.16.17
pkgrel=5
pkgdesc="A complete 8086 assembler and loader"
arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.debath.co.uk/"
depends=('glibc')
source=(http://homepage.ntlworld.com/robert.debath/dev86/$pkgname-$pkgver.tar.gz
bin86-0.16.17-x86_64-1.patch)
md5sums=('c9e8d72dd2e7457b52d0e3164fc199a1' '92bdce7b0655cd2e9f83c83fc56d128e')
build() {
cd $srcdir/$pkgname-$pkgver
if [ "$CARCH" = "x86_64" ]; then
patch -Np1 -i ../bin86-0.16.17-x86_64-1.patch || return 1
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
}
|