[arch-commits] Commit in haskell-extensible-exceptions/trunk (PKGBUILD)

Vesa Kaihlavirta vesa at archlinux.org
Sun Dec 13 07:15:13 UTC 2009


    Date: Sunday, December 13, 2009 @ 02:15:13
  Author: vesa
Revision: 61189

ghc-6.12 bump and others

Modified:
  haskell-extensible-exceptions/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-12-13 07:13:04 UTC (rev 61188)
+++ PKGBUILD	2009-12-13 07:15:13 UTC (rev 61189)
@@ -2,26 +2,25 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 # Package generated by cabal2arch 0.4.1
 pkgname=haskell-extensible-exceptions
-pkgrel=1
+pkgrel=1.1
 pkgver=0.1.1.0
 pkgdesc="Extensible exceptions"
 url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/extensible-exceptions"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-makedepends=('ghc' 'haskell-cabal')
-depends=('ghc' 'haskell-cabal' sh)
+depends=('ghc=6.12.1'  sh)
 options=('strip')
 source=(http://hackage.haskell.org/packages/archive/extensible-exceptions/$pkgver/extensible-exceptions-$pkgver.tar.gz)
 install=haskell-extensible-exceptions.install
 md5sums=('7aba82acc64fa2f2dc89d8ac27e24a43')
 build() {
-    cd $startdir/src/extensible-exceptions-$pkgver
+    cd $srcdir/extensible-exceptions-$pkgver
     runhaskell Setup configure --prefix=/usr || return 1
     runhaskell Setup build                   || return 1
     runhaskell Setup register   --gen-script || return 1
     runhaskell Setup unregister --gen-script || return 1
-    install -D -m744 register.sh   $startdir/pkg/usr/share/haskell/$pkgname/register.sh
-    install    -m744 unregister.sh $startdir/pkg/usr/share/haskell/$pkgname/unregister.sh
-    runhaskell Setup copy --destdir=$startdir/pkg || return 1
-    install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
+    install -D -m744 register.sh   $pkgdir/usr/share/haskell/$pkgname/register.sh
+    install    -m744 unregister.sh $pkgdir/usr/share/haskell/$pkgname/unregister.sh
+    runhaskell Setup copy --destdir=$pkgdir || return 1
+    install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
 }




More information about the arch-commits mailing list