void-packages/srcpkgs/warsow/template

35 lines
1.2 KiB
Text
Raw Normal View History

2012-07-29 07:55:28 +00:00
# Template file for 'warsow'
pkgname=warsow
version=1.0
revision=2
2012-07-29 07:55:28 +00:00
wrksrc="warsow_${version}_sdk"
# libopenal is dlopen(3)ed at runtime.
depends="desktop-file-utils warsow-data>=$version libopenal"
makedepends="pkg-config libcurl-devel libvorbis-devel libtheora-devel
libjpeg-turbo-devel libpng-devel SDL-devel libopenal-devel MesaLib-devel
libXext-devel libXinerama-devel libXrandr-devel libXxf86vm-devel
libXxf86dga-devel>=1.1.3 fontconfig-devel"
2012-07-29 07:55:28 +00: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/"
distfiles="http://funpark.warsow-esport.net/~warsow/1.0/warsow_${version}_sdk.tar.gz"
checksum=2e394b5c50ad206723a59636ab93448f69d8602e710ab334451badf746870e22
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
}