diff options
Diffstat (limited to 'community-staging/happy/PKGBUILD')
-rw-r--r-- | community-staging/happy/PKGBUILD | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/community-staging/happy/PKGBUILD b/community-staging/happy/PKGBUILD deleted file mode 100644 index 5bf28a90c..000000000 --- a/community-staging/happy/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# $Id: PKGBUILD 76087 2012-09-11 06:46:46Z 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=6 -pkgdesc="The Parser Generator for Haskell" -url="http://hackage.haskell.org/package/happy" -arch=('i686' 'x86_64') -license=("custom:BSD3") -depends=('gmp') -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') - -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 -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - runhaskell Setup.lhs copy --destdir="${pkgdir}" - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} |