added bin86
This commit is contained in:
parent
6d65df8cb6
commit
21db1a7915
1 changed files with 26 additions and 0 deletions
26
pkgs/bin86/build.sh
Normal file
26
pkgs/bin86/build.sh
Normal file
|
@ -0,0 +1,26 @@
|
|||
pkgname=bin86
|
||||
pkgver=0.16.21
|
||||
|
||||
fetch() {
|
||||
curl "https://sources.archlinux.org/other/community/dev86/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
cd $pkgname-$pkgver
|
||||
curl -L "https://github.com/ataraxialinux/ataraxia/raw/master/stuff/bin86/bin86-0.16.17-x86_64-1.patch" | patch -p1
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake PREFIX=/usr
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -d $pkgdir/usr/bin
|
||||
install -d $pkgdir/usr/share/man/man1
|
||||
gmake PREFIX=$pkgdir/usr MANDIR=$pkgdir/usr/share/man/man1 install
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat README
|
||||
}
|
Loading…
Reference in a new issue