summaryrefslogtreecommitdiff
path: root/community/haskell-dataenc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/haskell-dataenc/PKGBUILD')
-rw-r--r--community/haskell-dataenc/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/community/haskell-dataenc/PKGBUILD b/community/haskell-dataenc/PKGBUILD
index aa3d36b36..34a0373b3 100644
--- a/community/haskell-dataenc/PKGBUILD
+++ b/community/haskell-dataenc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 72386 2012-06-13 13:46:06Z tdziedzic $
+# $Id: PKGBUILD 77342 2012-10-09 04:17:11Z tdziedzic $
# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
# Package generated by cabal2arch 0.7.5
@@ -6,18 +6,24 @@
_hkgname=dataenc
pkgname=haskell-dataenc
pkgver=0.14.0.3
-pkgrel=2
+pkgrel=3
pkgdesc="Data encoding library"
url="http://hackage.haskell.org/package/dataenc"
license=('custom:BSD3')
arch=('i686' 'x86_64' 'mips64el')
-depends=('ghc=7.4.2-1' sh)
-source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+depends=('ghc=7.6.1-1' sh)
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+ '0001-update-build-deps-for-ghc-7.6.1.patch')
install=${pkgname}.install
-md5sums=('643a8c022b9c840f801faf9a661fe637')
+md5sums=('643a8c022b9c840f801faf9a661fe637'
+ '662056adcb79efe8898298c271b49600')
build() {
cd ${srcdir}/${_hkgname}-${pkgver}
+
+ # update build deps for ghc 7.6.1
+ patch -Np1 -i ${srcdir}/0001-update-build-deps-for-ghc-7.6.1.patch
+
runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
--prefix=/usr --docdir=/usr/share/doc/${pkgname} \
--libsubdir=\$compiler/site-local/\$pkgid