void-packages/srcpkgs/nasm-doc/template
Enno Boland f40cd77686 srcpkgs: remove pullmoll from maintainers field. 😢
Set them to Orphaned for now.

If you'd like to pick up a package, feel free.
2021-04-10 16:34:44 +02:00

26 lines
881 B
Bash

# Template file for 'nasm-doc'
# Separate to avoid dependency cycles; keep in sync with nasm.
pkgname=nasm-doc
version=2.15.05
revision=1
wrksrc="${pkgname%-doc}-${version}"
build_style=gnu-configure
make_build_args="doc"
hostmakedepends="groff perl perl-Font-TTF perl-IO-String perl-Sort-Versions
ghostscript source-sans-pro liberation-fonts-ttf"
short_desc="80x86 assembler designed for portability and modularity - documentation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.nasm.us"
distfiles="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz"
checksum=3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f
pre_configure() {
vsed -i doc/psfonts.ph -e "s;SourceSansPro;SourceSans3;g"
}
do_install() {
make -C doc DESTDIR="${DESTDIR}" docdir=/usr/share/doc/nasm install
vlicense LICENSE
}