summaryrefslogtreecommitdiff
path: root/extra/bin86/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bin86/PKGBUILD')
-rw-r--r--extra/bin86/PKGBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/extra/bin86/PKGBUILD b/extra/bin86/PKGBUILD
index a398fd4df..e141e4e6d 100644
--- a/extra/bin86/PKGBUILD
+++ b/extra/bin86/PKGBUILD
@@ -1,33 +1,34 @@
-# $Id: PKGBUILD 169577 2012-10-23 19:27:38Z eric $
+# $Id: PKGBUILD 212217 2014-05-11 00:25:53Z eric $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=bin86
-pkgver=0.16.19
+pkgver=0.16.21
pkgrel=1
pkgdesc="A complete 8086 assembler and loader"
arch=('i686' 'x86_64')
license=('GPL')
-url="http://www.debath.co.uk/"
+url="http://v3.sk/~lkundrak/dev86/"
depends=('glibc')
-source=("http://www.debath.co.uk/dev86/$pkgname-$pkgver.tar.gz"
+source=(http://v3.sk/~lkundrak/dev86/$pkgname-$pkgver.tar.gz
bin86-0.16.17-x86_64-1.patch)
-md5sums=('0a20d79765a6855ce7c8c2d02b23a0f0'
- '92bdce7b0655cd2e9f83c83fc56d128e')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
+sha1sums=('35a1222350adce5b6d62dd56f3477d9416c59174'
+ '2c967c062fbee4e40ca1bf55feec2033e132e0a9')
+prepare() {
+ cd $pkgname-$pkgver
if [[ $CARCH = x86_64 ]]; then
patch -Np1 < "$srcdir/bin86-0.16.17-x86_64-1.patch"
fi
+}
+build() {
+ cd $pkgname-$pkgver
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
+ cd $pkgname-$pkgver
+ install -d "$pkgdir"/usr/{bin,share/man/man1}
+ make PREFIX="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man/man1" install
}