Date: Sunday, May 4, 2014 @ 01:50:26 Author: svenstaro Revision: 110577
upgpkg: warsow 1.5-1 upstream release 1.5 Modified: warsow/trunk/PKGBUILD ----------+ PKGBUILD | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-05-03 23:18:16 UTC (rev 110576) +++ PKGBUILD 2014-05-03 23:50:26 UTC (rev 110577) @@ -5,7 +5,7 @@ # Contributor: Vain pkgname=warsow -pkgver=1.03 +pkgver=1.5 pkgrel=1 pkgdesc="Free online multiplayer competitive FPS based on the Qfusion engine" url="http://www.warsow.net/" @@ -12,17 +12,17 @@ license=('GPL') arch=('i686' 'x86_64') depends=('curl' 'libjpeg' 'libvorbis' 'libxinerama' 'libxxf86dga' 'libxxf86vm' - 'sdl' 'warsow-data' 'libxrandr' 'libpng' 'libtheora' 'freetype2') + 'sdl' 'warsow-data' 'libxrandr' 'libpng' 'libtheora' 'freetype2' 'libxi') makedepends=('mesa' 'openal' 'imagemagick' 'gendesk') optdepends=('openal: for openal audio support') source=('warsow.launcher' 'wsw-server.launcher' 'wswtv-server.launcher' \ - "http://www.warsow.net:1337/~warsow/${pkgver}/warsow_${pkgver}_sdk.tar.gz") + "http://www.warsow.net:1337/~warsow/1.5/warsow_15_sdk.tar.gz") _genericname=('First person shooter') _comment=('Online Mulitiplayer Competitive FPS') md5sums=('ec00081d81ad9802a8ca42fc2eac5498' 'f73e10c26197178df71b941b10bf83d7' 'd7e4a69835bbcf801e58307e9d6b951e' - '288b510dde9249c29fbb1b4cb746306b') + '96ec72dd00dbdd76317a51a6bf305df0') prepare() { @@ -30,30 +30,25 @@ } build() { - # This was used to fix some crashing due to alignment problems before. Has upstream - # finally got their shit together and we don't need them anymore? - #unset CFLAGS - #unset CXXFLAGS - # Compile Warsow - cd $srcdir/warsow_${pkgver}_sdk/source/ - make -j1 + cd source/source/ + make } package() { - cd $srcdir/warsow_${pkgver}_sdk/source/ + cd source/source/ # Create Destination Directories install -d $pkgdir/opt/warsow/ # Move Compiled Data to Destination Directory - cp -r $srcdir/warsow_${pkgver}_sdk/source/release/* $pkgdir/opt/warsow + cp -r release/* $pkgdir/opt/warsow install -D -m 0755 $srcdir/warsow.launcher $pkgdir/usr/bin/warsow install -D -m 0755 $srcdir/wsw-server.launcher $pkgdir/usr/bin/wsw-server install -D -m 0755 $srcdir/wswtv-server.launcher $pkgdir/usr/bin/wswtv-server install -D -m 0644 $srcdir/warsow.desktop $pkgdir/usr/share/applications/warsow.desktop - convert $srcdir/warsow_${pkgver}_sdk/source/win32/warsow.ico $srcdir/warsow.png + convert win32/warsow.ico $srcdir/warsow.png install -D -m 0644 $srcdir/warsow-0.png $pkgdir/usr/share/pixmaps/warsow.png }
