summaryrefslogtreecommitdiff
path: root/community/hedgewars
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-19 23:14:46 +0000
committerroot <root@rshg054.dnsready.net>2011-09-19 23:14:46 +0000
commitdf65be2b18070d63ffd056e8563279e4646bee9a (patch)
treedb83bf14cc793eaa739a4c65f7af96583cc56576 /community/hedgewars
parentf57b139ded4e8c4b10555985513b3f9a70a70e12 (diff)
Mon Sep 19 23:14:46 UTC 2011
Diffstat (limited to 'community/hedgewars')
-rw-r--r--community/hedgewars/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/community/hedgewars/PKGBUILD b/community/hedgewars/PKGBUILD
index 69e8e34ca..05ae00236 100644
--- a/community/hedgewars/PKGBUILD
+++ b/community/hedgewars/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 36219 2010-12-28 10:43:33Z spupykin $
+# $Id: PKGBUILD 55746 2011-09-18 23:20:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=hedgewars
-pkgver=0.9.15
-pkgrel=1
+pkgver=0.9.16
+pkgrel=2
pkgdesc="Free Worms-like turn based strategy game"
arch=('i686' 'x86_64')
url="http://hedgewars.org"
@@ -11,23 +11,28 @@ license=('GPL' 'custom')
depends=('qt' 'sdl' 'sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'lua')
makedepends=('fpc' 'cmake' 'ghc'
'haskell-utf8-string' 'haskell-dataenc' 'haskell-network'
- 'haskell-hslogger')
+ 'haskell-hslogger' 'haskell-bytestring-show' 'haskell-deepseq')
source=(http://download.gna.org/hedgewars/hedgewars-src-$pkgver.tar.bz2
hedgewars.desktop
hedgewars.png)
-md5sums=('a7d5e9082d3377dba573b7fee4bc833d'
+md5sums=('04f28f454e370a101cbf0d82c6d39bce'
'48c66a3204d4fa0a69e9aa46f7c31e0c'
'eeb14d50df39063549ac5eca9dbc65d1')
build() {
cd $srcdir/$pkgname-src-$pkgver
+# sed -i 's|.*misc/liblua.*||' CMakeLists.txt
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DDATA_INSTALL_DIR=/usr/share \
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake \
-DQT_MOC_EXECUTABLE=/usr/bin/moc \
- -DWITH_SERVER=1
+ -DWITH_SERVER=1 .
make
+}
+
+package() {
+ cd $srcdir/$pkgname-src-$pkgver
make DESTDIR=$pkgdir install
install -D -m644 Fonts_LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/Fonts_LICENSE.txt
install -D -m644 $srcdir/hedgewars.png $pkgdir/usr/share/pixmaps/hedgewars.png