New package: swars-0.3 (A port of the Syndicate wars game).

Close #837
This commit is contained in:
Juan RP 2015-01-11 15:30:30 +01:00
parent 864bfa8d17
commit 8dccaf5b9c
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,2 @@
This package needs the original data files located in /opt/swars;
copy them to that location to make swars work.

25
srcpkgs/swars/template Normal file
View file

@ -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 <xtraeme@gmail.com>"
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
}