pkgname=nasm pkgver=2.16.03 pkgrel=1 pkgdesc="80x86 assembler designed for portability and modularity" arch=('x86_64') url="https://www.nasm.us" license=('BSD-2-Clause') depends=('glibc') source=(https://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz https://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}-xdoc.tar.xz) sha256sums=(1412a1c760bbd05db026b6c0d1657affd6631cd0a63cddb6f73cc6d4aa616148 8a0f379e2729cdcf6541f7b7735fce662062eebd49f5b5be3f68b8c3f7e868df) build() { cd ${pkgname}-${pkgver} local configure_args=( ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -m755 -d ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}/html cp -v doc/html/*.html ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}/html cp -v doc/*.{txt,ps,pdf} ${pkgdir}/usr/share/doc/${pkgname}-${pkgver} }