Date: Wednesday, February 29, 2012 @ 16:12:39 Author: tdziedzic Revision: 151667
db-move: moved happy from [staging] to [testing] (x86_64) Added: happy/repos/testing-x86_64/ happy/repos/testing-x86_64/PKGBUILD (from rev 151661, happy/repos/staging-x86_64/PKGBUILD) Deleted: happy/repos/staging-x86_64/ ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: happy/repos/testing-x86_64/PKGBUILD (from rev 151661, happy/repos/staging-x86_64/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-02-29 21:12:39 UTC (rev 151667) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Thomas Dziedzic <gos...@gmail.com> +# Contributor: simo <s...@archlinux.org> +# Contributor: Vesa Kaihlavirta <ve...@iki.fi> + +pkgname=happy +pkgver=1.18.9 +pkgrel=4 +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.1' 'haskell-mtl=2.0.1.0-4') +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" +}