diff options
Diffstat (limited to 'community/widelands')
-rw-r--r-- | community/widelands/PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/community/widelands/PKGBUILD b/community/widelands/PKGBUILD index 011918ae6..4d207a5a6 100644 --- a/community/widelands/PKGBUILD +++ b/community/widelands/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 55907 2011-09-24 16:50:18Z stephane $ +# $Id: PKGBUILD 57518 2011-10-29 21:39:24Z lcarlier $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Arkham <arkham at archlinux dot us> # Contributor: Christoph Zeiler <rabyte*gmail> @@ -6,13 +6,12 @@ pkgname=widelands pkgver=16 _realver=build16 -pkgrel=3 +pkgrel=4 pkgdesc="A realtime strategy game with emphasis on economy and transport" arch=('i686' 'x86_64') url="http://widelands.org/" license=('GPL') -depends=('sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'sdl_gfx' 'ggz-client-libs' 'lua' 'glew' 'python2') -makedepends=('cmake' 'boost') +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 $pkgname.desktop $pkgname.png @@ -36,10 +35,14 @@ 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 + rm -r $pkgdir/usr/share/widelands/{campaigns,fonts,global,locale,maps,music,pics,scripting,sound,tribes,txts,worlds} + # Install bin, icon and desktop file #install -Dm 755 src/$pkgname $pkgdir/usr/share/$pkgname/$pkgname #install -Dm 755 $srcdir/$pkgname.sh $pkgdir/usr/bin/$pkgname |