# # Apps Packages for Chakra, part of chakra-project.org # # Maintainer: Adrián Chaves Frenández (Gallaecio) pkgname=happy pkgver=1.18.5 pkgrel=1 pkgdesc="The Parser Generator for Haskell" url="http://www.haskell.org/happy/" arch=('i686' 'x86_64') license=("custom:BSD3") depends=(gmp) makedepends=(ghc haskell-mtl) options=(strip) source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) build() { cd $startdir/src/${pkgname}-${pkgver} runhaskell Setup.lhs configure --prefix=/usr || return 1 runhaskell Setup.lhs build || return 1 runhaskell Setup.lhs copy --destdir=$startdir/pkg || return 1 install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE } md5sums=('9e77b67df7b6a4d7273383cc890f39e8')