diff --git a/pkgs/nasm/build.sh b/pkgs/nasm/build.sh index 75f84c2..032c8e6 100644 --- a/pkgs/nasm/build.sh +++ b/pkgs/nasm/build.sh @@ -2,6 +2,7 @@ pkgname=nasm pkgver=2.15 pkgrel=1 bad="gmake" +ext="doc" fetch(){ curl "https://www.nasm.us/pub/nasm/releasebuilds/$pkgver/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.gz @@ -12,14 +13,21 @@ build(){ cd $pkgname-$pkgver ./configure \ --build=x86_64-unknown-linux-musl \ - --host=x86_64-unknown-linux-musl + --host=x86_64-unknown-linux-musl \ --prefix=/usr gmake } -package(){ +package() { cd $pkgname-$pkgver gmake DESTDIR="$pkgdir" install + rm -r $pkgdir/usr/share +} + +package_doc() { + cd $pkgname-$pkgver + gmake DESTDIR="$pkgdir" install + rm -r $pkgdir/usr/bin } license() {