summaryrefslogtreecommitdiff
path: root/community/widelands/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-30 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-10-30 23:14:36 +0000
commitf935ebf41c626e4832f86c5f3f7ed1cc35128f6b (patch)
tree47a2300dc31ddb01a11ad22b0a515de26f752c18 /community/widelands/PKGBUILD
parent4fd31f219f19dfc2168702cef9421eaaccd9b3e6 (diff)
Sun Oct 30 23:14:36 UTC 2011
Diffstat (limited to 'community/widelands/PKGBUILD')
-rw-r--r--community/widelands/PKGBUILD11
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