summaryrefslogtreecommitdiff
path: root/community/widelands/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-04-27 16:17:51 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-04-27 16:17:51 +0200
commit0ee0392ee9301df31f6e3c601214bb250112fa75 (patch)
tree3d91576bf751a8a45ddad77e0a37c2d8fd4fa91f /community/widelands/PKGBUILD
parenta3ba265c32b1de731745e1abc812f5d21bcd6aaf (diff)
parent5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/dwdiff/PKGBUILD community/ejabberd/PKGBUILD community/gnome-settings-daemon-updates/PKGBUILD community/gpicview/PKGBUILD community/libgexiv2/PKGBUILD community/mapnik/PKGBUILD community/mplayer2/PKGBUILD community/open-vm-tools/PKGBUILD community/vdrift/PKGBUILD community/xboard/PKGBUILD core/openssh/PKGBUILD extra/boost/PKGBUILD extra/dconf/PKGBUILD extra/elfutils/PKGBUILD extra/gconf/PKGBUILD extra/gnome-control-center/PKGBUILD extra/gnome-disk-utility/PKGBUILD extra/gnome-menus/PKGBUILD extra/gnome-panel/PKGBUILD extra/gnome-power-manager/PKGBUILD extra/gnome-themes-standard/PKGBUILD extra/gobject-introspection/PKGBUILD extra/gtk3/PKGBUILD extra/gvfs/PKGBUILD extra/icu/PKGBUILD extra/libgsf/PKGBUILD extra/libimobiledevice/PKGBUILD extra/libplist/PKGBUILD extra/libreoffice/PKGBUILD extra/libwebkit/PKGBUILD extra/mutter/PKGBUILD extra/pango/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/telepathy-kde-accounts-kcm/PKGBUILD extra/telepathy-kde-approver/PKGBUILD extra/telepathy-kde-auth-handler/PKGBUILD extra/telepathy-kde-contact-list/PKGBUILD extra/telepathy-kde-filetransfer-handler/PKGBUILD extra/telepathy-kde-integration-module/PKGBUILD extra/telepathy-kde-send-file/PKGBUILD extra/telepathy-kde-text-ui/PKGBUILD extra/totem-plparser/PKGBUILD extra/virtuoso/PKGBUILD extra/yelp/PKGBUILD libre/unarchiver/PKGBUILD multilib/lib32-gdk-pixbuf2/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-pango/PKGBUILD testing/binutils/PKGBUILD
Diffstat (limited to 'community/widelands/PKGBUILD')
-rw-r--r--community/widelands/PKGBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/community/widelands/PKGBUILD b/community/widelands/PKGBUILD
index 0f41f7909..6a291309d 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' 'mips64el')
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