summaryrefslogtreecommitdiff
path: root/testing/happy
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-09-28 11:27:48 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-09-28 11:27:48 -0500
commit339250d6a0c7837009f059f741df099d57c43820 (patch)
tree3df8e851cb55d1ad08f090ae94d43b806da72fe2 /testing/happy
parent6987643a3fc70f8ecdccfe1672871c275465cb7d (diff)
Updated testing
Diffstat (limited to 'testing/happy')
-rw-r--r--testing/happy/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/happy/PKGBUILD b/testing/happy/PKGBUILD
new file mode 100644
index 000000000..d5303e80e
--- /dev/null
+++ b/testing/happy/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 128129 2011-06-22 11:27:01Z vesa $
+# Maintainer: simo <simo@archlinux.org>
+# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
+
+pkgname=happy
+pkgver=1.18.6
+pkgrel=1.2
+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=('7d4d1425f5068633cd477a2b2216880d')
+
+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"
+}
+