diff options
author | root <root@rshg054.dnsready.net> | 2012-06-13 00:01:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-13 00:01:51 +0000 |
commit | f46e734fbcd0b4cbae2cff1a017b95e4e8e02d53 (patch) | |
tree | 155102fee24f637e46976eb759175c3c2fbc1f40 /community-testing/happy | |
parent | fd4cd23b679e620a51c42e87a0655d55704fdba8 (diff) |
Wed Jun 13 00:01:51 UTC 2012
Diffstat (limited to 'community-testing/happy')
-rw-r--r-- | community-testing/happy/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community-testing/happy/PKGBUILD b/community-testing/happy/PKGBUILD new file mode 100644 index 000000000..398cf1f1a --- /dev/null +++ b/community-testing/happy/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 72295 2012-06-11 17:24:44Z 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 +pkgdesc="The Parser Generator for Haskell" +url="http://www.haskell.org/happy/" +arch=('i686' 'x86_64') +license=("custom:BSD3") +depends=('gmp') +makedepends=('ghc=7.4.2-1' 'haskell-mtl=2.1.1-1') +source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('aeb565fe572f979f15a24db0df2de37d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + 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" +} |