Date: Thursday, April 25, 2013 @ 14:35:25 Author: jelle Revision: 89003
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: happy/repos/community-staging-i686/ happy/repos/community-staging-i686/PKGBUILD (from rev 89002, happy/trunk/PKGBUILD) happy/repos/community-staging-x86_64/ happy/repos/community-staging-x86_64/PKGBUILD (from rev 89002, happy/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 29 +++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) Copied: happy/repos/community-staging-i686/PKGBUILD (from rev 89002, happy/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-04-25 12:35:25 UTC (rev 89003) @@ -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.10 +pkgrel=3 +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.3-1' 'haskell-mtl=2.1.2-3') +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +md5sums=('a1638e89434427e57f68ef311761dc30') + +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" +} Copied: happy/repos/community-staging-x86_64/PKGBUILD (from rev 89002, happy/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2013-04-25 12:35:25 UTC (rev 89003) @@ -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.10 +pkgrel=3 +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.3-1' 'haskell-mtl=2.1.2-3') +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +md5sums=('a1638e89434427e57f68ef311761dc30') + +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" +}