25 lines
881 B
Bash
25 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
|
|
}
|