diff --git a/srcpkgs/swars/INSTALL.msg b/srcpkgs/swars/INSTALL.msg new file mode 100644 index 00000000000..0293e1b0510 --- /dev/null +++ b/srcpkgs/swars/INSTALL.msg @@ -0,0 +1,2 @@ +This package needs the original data files located in /opt/swars; +copy them to that location to make swars work. diff --git a/srcpkgs/swars/template b/srcpkgs/swars/template new file mode 100644 index 00000000000..3981368bc9c --- /dev/null +++ b/srcpkgs/swars/template @@ -0,0 +1,25 @@ +# Template file for 'swars' +# +# limited to x86 (32bit) +only_for_archs="i686" +lib32mode="full" + +pkgname=swars +version=0.3 +revision=1 +build_style=gnu-configure +configure_args="--with-data-path=/opt/swars/" +hostmakedepends="pkg-config" +makedepends="SDL-devel zlib-devel libopenal-devel libpng-devel libvorbis-devel" +depends="vorbis-tools cdparanoia" +short_desc="A SDL port of the 1996 DOS game Syndicate Wars" +maintainer="Juan RP " +license="GPL-3" +homepage="http://swars.vexillium.org/" +distfiles="http://swars.vexillium.org/files/swars-${version}.tar.bz2" +checksum=01f44e5b792d41b138d361d04810a875cfa5f897c642a2b13d0dde633fabdacb + +post_install() { + # remove useless files + rm -r ${DESTDIR}/usr/share/doc +}