Hedgewars fixed and rebuilt against the latest Haskell libraries.

parent 23d6d083
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio<adriyetichaves@gmail.com>
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
pkgname=hedgewars
pkgver=0.9.18
pkgrel=1
_pkgver=${pkgver}-3
pkgrel=2
pkgdesc="Free turn based strategy game similar to Worms"
arch=('i686' 'x86_64')
url="http://hedgewars.org"
......@@ -14,14 +15,19 @@ depends=('lua' 'qt' 'sdl' 'sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'ttf-dejav
makedepends=('fpc' 'cmake' 'ghc' 'haskell-bytestring-show' 'haskell-utf8-string' 'haskell-dataenc' 'haskell-network'
'haskell-hslogger' 'haskell-vector')
categories=('games')
source=(http://download.gna.org/$pkgname/$pkgname-src-$pkgver.tar.bz2)
md5sums=('fa0c41d52dfa75cd7504b289f193c028')
source=(http://download.gna.org/$pkgname/$pkgname-src-${_pkgver}.tar.bz2)
md5sums=('02465736fdcf48feea1cacaa0aa5960e')
build() {
cd $srcdir/$pkgname-src-$pkgver
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
# Patches.
sed -e "/^instance NFData B.ByteString\$/d" -i "gameServer/Actions.hs"
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
make
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment