# Template file for 'chocolate-doom'
pkgname=chocolate-doom
version=3.0.1
revision=1
wrksrc="chocolate-doom-chocolate-doom-${version}"
build_style=gnu-configure
hostmakedepends="autoconf automake pkg-config"
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
}
