nasm-doc: fix build

SourceCodePro-* was renamed to SourceCode3.
This commit is contained in:
Jürgen Buchmüller 2020-11-06 22:43:48 +01:00
parent 07e694d548
commit 1c5be34e17

View file

@ -15,6 +15,10 @@ homepage="https://www.nasm.us"
distfiles="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz" distfiles="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz"
checksum=3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f checksum=3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f
pre_configure() {
vsed -i doc/psfonts.ph -e "s;SourceSansPro;SourceSans3;g"
}
do_install() { do_install() {
make -C doc DESTDIR="${DESTDIR}" docdir=/usr/share/doc/nasm install make -C doc DESTDIR="${DESTDIR}" docdir=/usr/share/doc/nasm install
vlicense LICENSE vlicense LICENSE