# Template file for 'chocolate-doom' pkgname=chocolate-doom version=3.1.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="Doom source port that is minimalist and historically accurate" maintainer="Kyle Nusbaum " 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=f2c64843dcec312032b180c3b2f34b4cb26c4dcdaa7375a1601a3b1df11ef84d CFLAGS="-fcommon" pre_configure() { autoreconf -fi } post_build() { cd man/bash-completion for f in *.template; do cp "$f" "chocolate-${f%.template}" done }