summaryrefslogtreecommitdiff
path: root/community/hedgewars
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-07 18:10:48 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-07 18:10:48 +0100
commit61733e7ff1a756e9325154d9d52cdcdeb27d9097 (patch)
treea0f842807088c4986fb918be0de70bac3f18ea04 /community/hedgewars
parent42badd081241c57a3b9bbd7a18dec85e64038314 (diff)
parent5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/bin2iso/PKGBUILD community/espeak/PKGBUILD community/gnash/PKGBUILD community/gtk2hs-buildtools/PKGBUILD community/haskell-binary/PKGBUILD community/haskell-dataenc/PKGBUILD community/haskell-ghc-paths/PKGBUILD community/haskell-haskeline/PKGBUILD community/haskell-hslogger/PKGBUILD community/haskell-tar/PKGBUILD community/haskell-terminfo/PKGBUILD community/haskell-utf8-string/PKGBUILD community/haskell-x11-xft/PKGBUILD community/kmess/PKGBUILD community/libident/PKGBUILD community/lwm/PKGBUILD core/dialog/PKGBUILD core/gcc/PKGBUILD core/libtool/PKGBUILD core/ppl/PKGBUILD extra/boost/PKGBUILD extra/dnsmasq/PKGBUILD extra/ghc/PKGBUILD extra/haskell-html/PKGBUILD extra/haskell-http/PKGBUILD extra/haskell-mtl/PKGBUILD extra/haskell-network/PKGBUILD extra/haskell-parsec/PKGBUILD extra/haskell-quickcheck/PKGBUILD extra/haskell-regex-base/PKGBUILD extra/haskell-regex-compat/PKGBUILD extra/haskell-regex-posix/PKGBUILD extra/haskell-text/PKGBUILD extra/haskell-transformers/PKGBUILD extra/haskell-zlib/PKGBUILD extra/liborigin2/PKGBUILD extra/libpst/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/pekwm/PKGBUILD extra/soprano/PKGBUILD extra/udisks/PKGBUILD multilib-testing/lib32-libpciaccess/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/lib32-glibc/glibc-2.12.2-ignore-origin-of-privileged-program.patch multilib/lib32-glibc/glibc-2.15-ifunc.patch multilib/lib32-glibc/glibc-2.15-revert-netlink-cache.patch multilib/lib32-glibc/glibc-2.15-scanf.patch multilib/libtool-multilib/PKGBUILD staging/kdeedu-kig/PKGBUILD staging/kdeedu-rocs/PKGBUILD testing/libpciaccess/PKGBUILD testing/mkinitcpio-busybox/PKGBUILD testing/xorg-server/PKGBUILD
Diffstat (limited to 'community/hedgewars')
-rw-r--r--community/hedgewars/PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/community/hedgewars/PKGBUILD b/community/hedgewars/PKGBUILD
index 18ff0d9c4..8acb86b92 100644
--- a/community/hedgewars/PKGBUILD
+++ b/community/hedgewars/PKGBUILD
@@ -1,17 +1,20 @@
-# $Id: PKGBUILD 58974 2011-11-20 18:15:24Z spupykin $
+# $Id: PKGBUILD 67078 2012-03-03 16:11:51Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=hedgewars
pkgver=0.9.17
-pkgrel=1
+pkgrel=2
pkgdesc="Free Worms-like turn based strategy game"
arch=('i686' 'x86_64' 'mips64el')
url="http://hedgewars.org"
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-bytestring-show' 'haskell-deepseq')
+makedepends=('fpc' 'cmake'
+ # haskell specific
+ 'ghc=7.4.1-2'
+ 'haskell-network=2.3.0.11-1' 'haskell-bytestring-show=0.3.5.1-2'
+ 'haskell-utf8-string=0.3.7-1' 'haskell-dataenc=0.14.0.3-1'
+ 'haskell-hslogger=1.1.5-6')
source=(http://download.gna.org/hedgewars/hedgewars-src-$pkgver.tar.bz2
hedgewars.desktop
hedgewars.png)
@@ -20,20 +23,25 @@ md5sums=('77c0bc4bc664604adbba67fab606d8f1'
'eeb14d50df39063549ac5eca9dbc65d1')
build() {
- cd $srcdir/$pkgname-src-$pkgver
+ cd $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 .
+
make
}
package() {
- cd $srcdir/$pkgname-src-$pkgver
+ cd $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
install -D -m644 $srcdir/hedgewars.desktop $pkgdir/usr/share/applications/hedgewars.desktop