From 6fe2bc2b367586422c561fe68097466919ab6091 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sun, 16 Aug 2015 12:04:43 +0200 Subject: [PATCH] New package: prboom-plus-2.5.1.3 --- srcpkgs/prboom-plus/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/prboom-plus/template diff --git a/srcpkgs/prboom-plus/template b/srcpkgs/prboom-plus/template new file mode 100644 index 00000000000..51a1bb9c7dc --- /dev/null +++ b/srcpkgs/prboom-plus/template @@ -0,0 +1,21 @@ +# Template file for 'prboom-plus' +pkgname=prboom-plus +version=2.5.1.3 +revision=1 +build_style=gnu-configure +configure_args="--disable-cpu-opt --disable-dogs" +makedepends="fluidsynth-devel libmad-devel SDL_mixer-devel SDL_net-devel + SDL_image-devel libpng-devel portmidi-devel libvorbis-devel glu-devel + libGL SDL-devel" +short_desc="Doom source port developed from the original PrBoom" +maintainer="Ypnose " +homepage="http://prboom-plus.sourceforge.net/" +license="GPL-2" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +checksum="0a406fa9d275fbde94afcf726cbff6d3a022f83b413dbfb6d131872e4642668f" + +pre_configure() { + sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in + sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in + sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' doc/Makefile.in +}