void-packages/srcpkgs/crispy-doom/template

28 lines
1.1 KiB
Bash

# Template file for 'crispy-doom'
pkgname=crispy-doom
version=5.12.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=d85d6e76aa949385458b7702e6fb594996745b94032ffb13e1790376eeecb462
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
}