[arch-commits] CVS update of extra/devel/happy (PKGBUILD)
Simo Leone
simo at archlinux.org
Tue Nov 6 12:15:00 UTC 2007
Date: Tuesday, November 6, 2007 @ 07:15:00
Author: simo
Path: /home/cvs-extra/extra/devel/happy
Added: PKGBUILD (1.1)
upgpkg: happy 1.16-1
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Index: extra/devel/happy/PKGBUILD
diff -u /dev/null extra/devel/happy/PKGBUILD:1.1
--- /dev/null Tue Nov 6 07:15:00 2007
+++ extra/devel/happy/PKGBUILD Tue Nov 6 07:15:00 2007
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD,v 1.1 2007/11/06 12:15:00 simo Exp $
+# Maintainer: simo <simo at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=happy
+pkgver=1.16
+pkgrel=1
+pkgdesc="The Parser Generator for Haskell"
+url="http://www.haskell.org/happy/"
+arch=('i686' 'x86_64')
+license="BSD"
+depends=(gmp bash)
+makedepends=(ghc)
+conflicts=()
+replaces=()
+backup=()
+install=
+source=(http://www.haskell.org/$pkgname/dist/$pkgver/$pkgname-$pkgver.tar.gz)
+md5sums=('b9fd2f5eba61974dab8e12873cadee6f')
+
+build() {
+ cd "$startdir/src/${pkgname}-${pkgver}"
+ # Configure package
+ ./Setup.lhs configure --prefix=/usr || return 1
+ # Build package
+ ./Setup.lhs build || return 1
+ # Install package
+ ./Setup.lhs copy --copy-prefix=$startdir/pkg/usr
+}
More information about the arch-commits
mailing list