25 lines
845 B
Bash
25 lines
845 B
Bash
# Template file for 'nasm-doc'
|
|
# Separate to avoid dependency cycles; keep in sync with nasm.
|
|
pkgname=nasm-doc
|
|
version=2.16.01
|
|
revision=1
|
|
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=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558
|
|
|
|
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
|
|
}
|