added bin86

This commit is contained in:
Ella-0 2021-06-13 11:13:43 +01:00
parent 6d65df8cb6
commit 21db1a7915

26
pkgs/bin86/build.sh Normal file
View 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
}