New package: warsow-1.0.

This commit is contained in:
Juan RP 2012-07-29 09:55:28 +02:00
parent 6c0855e866
commit 4088876477
7 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Warsow
GenericName=First person shooter
Comment=Online Mulitiplayer Competitive FPS
Exec=warsow
Icon=warsow
Terminal=false
StartupNotify=false
Categories=Application;Game;ActionGame;

View File

@ -0,0 +1,5 @@
#!/bin/sh
cd /usr/share/warsow
./warsow $*
exit $?

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@ -0,0 +1,5 @@
#!/bin/sh
cd /usr/share/warsow
./wsw_server $*
exit $?

View File

@ -0,0 +1,5 @@
#!/bin/sh
cd /usr/share/warsow
./wswtv_server $*
exit $?

36
srcpkgs/warsow/template Normal file
View File

@ -0,0 +1,36 @@
# Template file for 'warsow'
pkgname=warsow
version=1.0
revision=1
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
jpeg-devel libpng-devel SDL-devel libopenal-devel MesaLib-devel
libXext-devel libXinerama-devel libXrandr-devel libXxf86vm-devel
libXxf86dga-devel>=1.1.3 fontconfig-devel"
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
long_desc="
A free online multiplayer competitive FPS based on the Qfusion engine."
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
}

View File

@ -0,0 +1,21 @@
libm.so.6
libc.so.6
libstdc++.so.6
libfreetype.so.6
libgcc_s.so.1
libdl.so.2
libvorbisfile.so.3
libSDL-1.2.so.0
libvorbis.so.0
libtheoradec.so.1
libpthread.so.0
libjpeg.so.8
libpng15.so.15
libz.so.1
libX11.so.6
libXxf86dga.so.1
libXxf86vm.so.1
libXinerama.so.1
libXrandr.so.2
librt.so.1
libcurl.so.4