gxemul: fix manpage installation.

This commit is contained in:
Juan RP 2019-06-25 20:20:23 +02:00
parent 64becbee28
commit c9f23ed2e8
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368

View file

@ -1,7 +1,7 @@
# Template file for 'gxemul'
pkgname=gxemul
version=0.6.2
revision=1
revision=2
makedepends="libX11-devel"
short_desc="Framework for full-system computer architecture emulation"
maintainer="Juan RP <xtraeme@voidlinux.org>"
@ -13,11 +13,9 @@ checksum=a703ac7965feb3c701c7677d78c353f0efa1af4d36a9508fb045eb63dd571547
nocross="./_testpri: cannot execute binary file: Exec format error"
do_configure() {
PREFIX=/usr ./configure
# Fix man path.
sed -i 's,$(PREFIX)/man,$(PREFIX)/share/man,g' Makefile
PREFIX=/usr MANDIR=${DESTDIR}/usr/share/man ./configure
# Skip tests
sed -i '/^install:/s/test//' Makefile
vsed -i '/^install:/s/test//' Makefile
}
do_build() {
make CXX=$CXX CC=$CC ${makejobs}