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/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/community/haskell-dataenc/PKGBUILD b/community/haskell-dataenc/PKGBUILD
index c1bd00b18..d00ad725a 100644
--- a/community/haskell-dataenc/PKGBUILD
+++ b/community/haskell-dataenc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 103336 2014-01-03 11:09:18Z bpiotrowski $
+# $Id: PKGBUILD 110617 2014-05-04 13:54:56Z td123 $
# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
# Package generated by cabal2arch 0.7.5
@@ -6,24 +6,26 @@
_hkgname=dataenc
pkgname=haskell-dataenc
pkgver=0.14.0.5
-pkgrel=2
+pkgrel=3
pkgdesc="Data encoding library"
url="http://hackage.haskell.org/package/dataenc"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=('ghc=7.6.3-1' sh)
+depends=('ghc=7.8.2-2' sh)
install=${pkgname}.install
options=('staticlibs')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
- '0001-update-build-deps-for-ghc-7.6.1.patch')
+ '0001-update-build-deps-for-ghc-7.8.2.patch')
md5sums=('4da812ca7a1640a5fdcc676009ab160c'
- '662056adcb79efe8898298c271b49600')
+ '9fead0d2676158c60290d85ca7899718')
-build() {
+prepare() {
cd ${srcdir}/${_hkgname}-${pkgver}
+ patch -Np1 -i $srcdir/0001-update-build-deps-for-ghc-7.8.2.patch
+}
- # update build deps for ghc 7.6.1
-# patch -Np1 -i ${srcdir}/0001-update-build-deps-for-ghc-7.6.1.patch
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
--prefix=/usr --docdir=/usr/share/doc/${pkgname} \