[arch-commits] Commit in happy/trunk (PKGBUILD)

Vesa Kaihlavirta vesa at archlinux.org
Mon May 4 02:38:41 EDT 2009


    Date: Monday, May 4, 2009 @ 02:38:41
  Author: vesa
Revision: 37873

Updates from dons

Modified:
  happy/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-04 05:15:18 UTC (rev 37872)
+++ PKGBUILD	2009-05-04 06:38:41 UTC (rev 37873)
@@ -3,29 +3,25 @@
 # Contributor: Vesa Kaihlavirta <vegai at iki.fi>
  
 pkgname=happy
-pkgver=1.17
+pkgver=1.18.4
 pkgrel=1
 pkgdesc="The Parser Generator for Haskell"
 url="http://www.haskell.org/happy/"
 arch=('i686' 'x86_64')
-license=("BSD")
-depends=(gmp bash)
+license=("custom:BSD3")
+depends=(gmp)
 makedepends=(ghc)
-conflicts=()
-replaces=()
-backup=()
-install=
-source=(http://www.haskell.org/$pkgname/dist/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('4bc931a8630ecebb751a2a8e60219313')
+options=(strip)
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+md5sums=('614e3ef9623dbeefc4c8ca699912efb4')
 
+
 build() {
-  cd "$startdir/src/${pkgname}-${pkgver}"
-  # Configure package
+  cd $startdir/src/${pkgname}-${pkgver}
+
   ./Setup.lhs configure --prefix=/usr || return 1
-  # Build package
   ./Setup.lhs build || return 1
-  # Install package
-  ./Setup.lhs copy --copy-prefix=$startdir/pkg/usr
-  # Install license
+  ./Setup.lhs copy --destdir=$startdir/pkg || return 1
+
   install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list