diff options
author | root <root@rshg054.dnsready.net> | 2012-04-27 00:01:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-27 00:01:30 +0000 |
commit | 5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (patch) | |
tree | 9efe4d061ff3f921e97518a8bc84d504bc88e6fc /community/widelands | |
parent | 4a6f4c864badccdbf9756bc45218273796fa6d72 (diff) |
Fri Apr 27 00:01:30 UTC 2012
Diffstat (limited to 'community/widelands')
-rw-r--r-- | community/widelands/PKGBUILD | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/community/widelands/PKGBUILD b/community/widelands/PKGBUILD index 80885f298..036da3f52 100644 --- a/community/widelands/PKGBUILD +++ b/community/widelands/PKGBUILD @@ -1,26 +1,23 @@ -# $Id: PKGBUILD 68367 2012-03-23 06:59:41Z svenstaro $ +# $Id: PKGBUILD 69897 2012-04-25 19:17:33Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Arkham <arkham at archlinux dot us> # Contributor: Christoph Zeiler <rabyte*gmail> pkgname=widelands -pkgver=16 -_realver=build16 -pkgrel=6 +pkgver=17 +_realver=build17 +pkgrel=1 pkgdesc="A realtime strategy game with emphasis on economy and transport" arch=('i686' 'x86_64') url="http://widelands.org/" license=('GPL') -makedepends=('cmake' 'boost' 'sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'sdl_gfx' 'ggz-client-libs' 'lua' 'glew' 'python2') -source=(http://launchpad.net/$pkgname/build16/$_realver/+download/$pkgname-$_realver-src.tar.bz2 - widelands-0.16-libpng15.patch - 6233_6232.diff +depends=('sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'sdl_gfx' 'ggz-client-libs' 'lua' 'glew' 'python2' 'widelands-data') +makedepends=('cmake' 'boost' 'ggz-client-libs') +source=("https://launchpad.net/widelands/build17/build-17/+download/$pkgname-$_realver-src.tar.bz2" $pkgname.desktop $pkgname.png $pkgname.sh) -md5sums=('3d8c28e145b73c64d8ed1625319d25a2' - 'e492620b071cbd1db04280173653a67c' - '9f91bff91a6867cc3ecdea407007d781' +md5sums=('bdc9bc0aa631af1aa7fb450507611a58' '15820bf099fd6f16251fe70a75c534bb' '3dfda7e9ca76ca00dd98d745d0ceb328' '7cae50aba5ed0cd2cfeea79124637b46') @@ -28,8 +25,7 @@ md5sums=('3d8c28e145b73c64d8ed1625319d25a2' build() { cd $srcdir/$pkgname-$_realver-src - patch -Np0 < $srcdir/widelands-0.16-libpng15.patch - patch -Np0 < $srcdir/6233_6232.diff + sed -i "1 i #include <unistd.h>" src/main.cc mkdir -p build/compile && cd build/compile @@ -42,8 +38,6 @@ build() { } package() { - depends=('sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'sdl_gfx' 'ggz-client-libs' 'lua' 'glew' 'python2' 'widelands-data>=16') - cd $srcdir/$pkgname-$_realver-src/build/compile make DESTDIR="$pkgdir" install |