40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
# Template file for 'warsow'
|
|
pkgname=warsow
|
|
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 libXi-devel
|
|
libXxf86dga-devel>=1.1.3 fontconfig-devel"
|
|
# libopenal is dlopen(3)ed at runtime.
|
|
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://www.warsow.eu/warsow_${version/./}_sdk.tar.gz"
|
|
checksum=277bbe87744352ee02476dc1bf9258ed5b204345b1b8eb394442dcec6a956949
|
|
|
|
do_build() {
|
|
cd ${wrksrc}/source/source
|
|
make
|
|
}
|
|
|
|
do_install() {
|
|
# Move Compiled Data to Destination Directory
|
|
vmkdir 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
|
|
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
|
|
}
|