void-packages/srcpkgs/crispy-doom/template

29 lines
1.2 KiB
Bash

# Template file for 'crispy-doom'
pkgname=crispy-doom
version=6.0
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake pkg-config python3"
makedepends="SDL2-devel SDL2_mixer-devel SDL2_net-devel libsamplerate-devel libpng-devel"
short_desc="Limit-removing enhanced-resolution Doom source port"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/fabiangreffrath/crispy-doom"
distfiles="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-${version}.tar.gz"
checksum=2b85649c615efeac7573883370e9434255af301222b323120692cb9649b7f420
CFLAGS="-fcommon"
pre_configure() {
autoreconf -fi
}
post_install() {
#Rename default.cfg(5), hexen.cfg(5) and heretic.cfg(5) man pages to avoid conflict
#with chocolate-doom
mv ${DESTDIR}/usr/share/man/man5/default.cfg.5 ${DESTDIR}/usr/share/man/man5/crispy_default.cfg.5
mv ${DESTDIR}/usr/share/man/man5/hexen.cfg.5 ${DESTDIR}/usr/share/man/man5/crispy_hexen.cfg.5
mv ${DESTDIR}/usr/share/man/man5/heretic.cfg.5 ${DESTDIR}/usr/share/man/man5/crispy_heretic.cfg.5
mv ${DESTDIR}/usr/share/man/man5/strife.cfg.5 ${DESTDIR}/usr/share/man/man5/crispy_strife.cfg.5
}