blob: 839cfcfbe3fdc34632518fcab9f0a2e186ed952e (
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
28
29
30
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 169577 2012-10-23 19:27:38Z eric $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=bin86
pkgver=0.16.19
pkgrel=1
pkgdesc="A complete 8086 assembler and loader"
arch=('i686' 'x86_64' 'mips64el')
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
bin86-0.16.19-inttypes.patch)
md5sums=('0a20d79765a6855ce7c8c2d02b23a0f0'
'92bdce7b0655cd2e9f83c83fc56d128e'
'98854f331f03d1f938c3b53eee31aaf8')
build() {
cd "$srcdir/$pkgname-$pkgver"
if [[ $CARCH = x86_64 ]]; then
patch -Np1 < "$srcdir/bin86-0.16.17-x86_64-1.patch"
fi
if [[ $CARCH = mips64el ]]; then
patch -Np1 < "$srcdir/bin86-0.16.19-inttypes.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
}
|