2012-07-29 09:55:28 +02:00
|
|
|
# Template file for 'warsow'
|
|
|
|
pkgname=warsow
|
2013-04-29 23:22:39 +02:00
|
|
|
version=1.02
|
2013-04-30 12:01:35 +02:00
|
|
|
revision=2
|
2012-07-29 09:55:28 +02:00
|
|
|
wrksrc="warsow_${version}_sdk"
|
|
|
|
makedepends="pkg-config libcurl-devel libvorbis-devel libtheora-devel
|
2013-04-30 12:01:35 +02:00
|
|
|
libjpeg-turbo-devel libpng-devel>=1.6 SDL-devel libopenal-devel MesaLib-devel
|
2013-01-08 10:10:40 +01:00
|
|
|
libXext-devel libXinerama-devel libXrandr-devel libXxf86vm-devel
|
|
|
|
libXxf86dga-devel>=1.1.3 fontconfig-devel"
|
2012-07-29 09:55:28 +02:00
|
|
|
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/"
|
2013-04-29 23:22:39 +02:00
|
|
|
distfiles="http://wsw.null.so/warsow_${version}_sdk.tar.gz"
|
|
|
|
checksum=bec1f0ec26c39defad393578b28eb955504f054599142b096773c28889cabb2c
|
2012-07-29 09:55:28 +02:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cd ${wrksrc}/source
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
# Move Compiled Data to Destination Directory
|
|
|
|
vmkdir usr/share/warsow
|
|
|
|
vcopy "source/release/*" usr/share/warsow
|
|
|
|
|
|
|
|
vinstall ${FILESDIR}/warsow.launcher 755 usr/bin warsow
|
|
|
|
vinstall ${FILESDIR}/wsw-server.launcher 755 usr/bin wsw-server
|
|
|
|
vinstall ${FILESDIR}/wswtv-server.launcher 755 usr/bin wswtv-server
|
|
|
|
vinstall ${FILESDIR}/warsow.desktop 644 usr/share/applications
|
|
|
|
vinstall ${FILESDIR}/warsow.png 644 usr/share/pixmaps
|
|
|
|
}
|
2013-04-14 17:36:49 +02:00
|
|
|
|
|
|
|
warsow_package() {
|
|
|
|
# libopenal is dlopen(3)ed at runtime.
|
|
|
|
depends="desktop-file-utils warsow-data>=1.0 libopenal"
|
|
|
|
pkg_install() {
|
2013-04-30 12:01:35 +02:00
|
|
|
vmove all
|
2013-04-14 17:36:49 +02:00
|
|
|
}
|
|
|
|
}
|