[arch-commits] Commit in happy/repos (4 files)
Thomas Dziedzic
tdziedzic at archlinux.org
Fri Feb 24 17:48:30 UTC 2012
Date: Friday, February 24, 2012 @ 12:48:29
Author: tdziedzic
Revision: 151069
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
happy/repos/staging-i686/
happy/repos/staging-i686/PKGBUILD
(from rev 151068, happy/trunk/PKGBUILD)
happy/repos/staging-x86_64/
happy/repos/staging-x86_64/PKGBUILD
(from rev 151068, happy/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 29 +++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 29 +++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
Copied: happy/repos/staging-i686/PKGBUILD (from rev 151068, happy/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-02-24 17:48:29 UTC (rev 151069)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: simo <simo at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=happy
+pkgver=1.18.9
+pkgrel=3
+pkgdesc="The Parser Generator for Haskell"
+url="http://www.haskell.org/happy/"
+arch=('i686' 'x86_64')
+license=("custom:BSD3")
+depends=(gmp)
+makedepends=(ghc=7.0.3 haskell-mtl=2.0.1.0)
+options=(strip)
+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"
+}
Copied: happy/repos/staging-x86_64/PKGBUILD (from rev 151068, happy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-02-24 17:48:29 UTC (rev 151069)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: simo <simo at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=happy
+pkgver=1.18.9
+pkgrel=3
+pkgdesc="The Parser Generator for Haskell"
+url="http://www.haskell.org/happy/"
+arch=('i686' 'x86_64')
+license=("custom:BSD3")
+depends=(gmp)
+makedepends=(ghc=7.0.3 haskell-mtl=2.0.1.0)
+options=(strip)
+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"
+}
More information about the arch-commits
mailing list