warsow: update to 1.5.

This commit is contained in:
Juan RP 2014-05-04 10:55:09 +02:00
parent 8086162a0e
commit 3e1441c369
1 changed files with 15 additions and 10 deletions

View File

@ -1,30 +1,35 @@
# Template file for 'warsow'
pkgname=warsow
version=1.02
revision=2
wrksrc="warsow_${version}_sdk"
makedepends="pkg-config libcurl-devel libvorbis-devel libtheora-devel
version=1.5
revision=1
create_wrksrc=yes
wrksrc="warsow_${version/./}_sdk"
hostmakedepends="pkg-config"
makedepends="libcurl-devel libvorbis-devel libtheora-devel
libjpeg-turbo-devel libpng-devel>=1.6 SDL-devel libopenal-devel MesaLib-devel
libXext-devel libXinerama-devel libXrandr-devel libXxf86vm-devel
libXext-devel libXinerama-devel libXrandr-devel libXxf86vm-devel libXi-devel
libXxf86dga-devel>=1.1.3 fontconfig-devel"
# libopenal is dlopen(3)ed at runtime.
depends="desktop-file-utils warsow-data>=1.0 libopenal"
depends="desktop-file-utils warsow-data>=1.5 libopenal"
short_desc="Free online multiplayer competitive FPS based on the Qfusion engine"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.warsow.net/"
distfiles="http://wsw.null.so/warsow_${version}_sdk.tar.gz"
checksum=bec1f0ec26c39defad393578b28eb955504f054599142b096773c28889cabb2c
distfiles="http://www.warsow.eu/warsow_${version/./}_sdk.tar.gz"
checksum=277bbe87744352ee02476dc1bf9258ed5b204345b1b8eb394442dcec6a956949
do_build() {
cd ${wrksrc}/source
cd ${wrksrc}/source/source
make
}
do_install() {
# Move Compiled Data to Destination Directory
vmkdir usr/share/warsow
vcopy "source/release/*" usr/share/warsow
vcopy "source/source/release/*" usr/share/warsow
find ${DESTDIR}/usr/share/warsow -type d | xargs chmod 755
find ${DESTDIR}/usr/share/warsow -type f | xargs chmod 755 # only executable files in there
vinstall ${FILESDIR}/warsow.launcher 755 usr/bin warsow
vinstall ${FILESDIR}/wsw-server.launcher 755 usr/bin wsw-server