27 lines
793 B
Bash
27 lines
793 B
Bash
# Template file for 'chocolate-doom'
|
|
pkgname=chocolate-doom
|
|
version=3.0.1
|
|
revision=2
|
|
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="Doom source port that is minimalist and historically accurate"
|
|
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.chocolate-doom.org/"
|
|
distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
|
|
checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_build() {
|
|
cd man/bash-completion
|
|
for f in *.template; do
|
|
cp "$f" "chocolate-${f%.template}"
|
|
done
|
|
}
|