PKGBUILD 952 Bytes
Newer Older
Manuel Tortosa's avatar
Manuel Tortosa committed
1 2 3 4 5 6 7 8 9
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>

# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf

Jan Mette's avatar
Jan Mette committed
10
pkgname=bin86
11
pkgver=0.16.18
12
pkgrel=2
Jan Mette's avatar
Jan Mette committed
13 14 15 16 17 18
pkgdesc="A complete 8086 assembler and loader"
arch=(i686 x86_64)
license=('GPL')
url="http://www.debath.co.uk/"
groups=('base-devel')
depends=('glibc')
19
source=(http://www.debath.co.uk/dev86//$pkgname-$pkgver.tar.gz
Jan Mette's avatar
Jan Mette committed
20
	bin86-0.16.17-x86_64-1.patch)
21
md5sums=('914068fb649b93642d1cf21857b75699' '92bdce7b0655cd2e9f83c83fc56d128e')
Jan Mette's avatar
Jan Mette committed
22 23 24 25 26 27 28 29 30 31

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 || return 1
  mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1
  make PREFIX=$pkgdir/usr MANDIR=$pkgdir/usr/share/man/man1 install
}