summaryrefslogtreecommitdiff
path: root/community/happy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/happy/PKGBUILD')
-rw-r--r--community/happy/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/community/happy/PKGBUILD b/community/happy/PKGBUILD
index fb8ecf1f5..99e4581d9 100644
--- a/community/happy/PKGBUILD
+++ b/community/happy/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD 72383 2012-06-13 13:45:51Z tdziedzic $
+# $Id: PKGBUILD 77339 2012-10-09 04:16:54Z tdziedzic $
# Maintainer: Thomas Dziedzic <gostrc@gmail.com>
# Contributor: simo <simo@archlinux.org>
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
pkgname=happy
-pkgver=1.18.9
-pkgrel=5
+pkgver=1.18.10
+pkgrel=1
pkgdesc="The Parser Generator for Haskell"
-url="http://www.haskell.org/happy/"
+url="http://hackage.haskell.org/package/happy"
arch=('i686' 'x86_64')
license=("custom:BSD3")
depends=('gmp')
-makedepends=('ghc=7.4.2-1' 'haskell-mtl=2.1.1-1')
+makedepends=('ghc=7.6.1-1' 'haskell-mtl=2.1.2-1')
source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('aeb565fe572f979f15a24db0df2de37d')
+md5sums=('a1638e89434427e57f68ef311761dc30')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # try was deprecated and removed into control.exception
+ # we really want tryIOError
+ #sed 's/try/&IOError/' -i Setup.lhs
+
runhaskell Setup.lhs configure -O --prefix=/usr
runhaskell Setup.lhs build
}