nasm: split off doc to avoid dep cycle(s) + adopt

This commit is contained in:
Jürgen Buchmüller 2020-05-26 15:52:15 +02:00
parent 5df8b83432
commit 51c74d59c4

View file

@ -1,21 +1,17 @@
# Template file for 'nasm'
# Update nasm-doc which is separate to avoid dependency cycles
pkgname=nasm
version=2.14.02
revision=1
revision=2
build_style=gnu-configure
make_build_args="all doc"
hostmakedepends="groff perl perl-Font-TTF perl-IO-String perl-Sort-Versions
ghostscript source-sans-pro liberation-fonts-ttf"
short_desc="An 80x86 assembler designed for portability and modularity"
maintainer="Orphaned <orphan@voidlinux.org>"
make_build_args="all"
short_desc="80x86 assembler designed for portability and modularity"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD-2-Clause"
homepage="https://www.nasm.us"
distfiles="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz"
checksum=e24ade3e928f7253aa8c14aa44726d1edf3f98643f87c9d72ec1df44b26be8f5
post_install() {
make -C doc DESTDIR="${DESTDIR}" docdir=/usr/share/doc/nasm install
vlicense LICENSE
#mv ${DESTDIR}/usr/doc ${DESTDIR}/usr/share/doc
}