[arch-commits] Commit in haskell-regex-base/trunk (PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Wed Dec 22 15:14:28 UTC 2010


    Date: Wednesday, December 22, 2010 @ 10:14:27
  Author: remy
Revision: 103706

upgpkg: haskell-regex-base 0.93.2-3
Rebuild for mtl-2, install in /usr/lib/ghc-7.0.1

Modified:
  haskell-regex-base/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-22 15:11:25 UTC (rev 103705)
+++ PKGBUILD	2010-12-22 15:14:27 UTC (rev 103706)
@@ -3,20 +3,21 @@
 _hkgname=regex-base
 pkgname=haskell-regex-base
 pkgver=0.93.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Interface API for regex-posix,pcre,parsec,tdfa,dfa"
 url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/regex-base"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=(ghc=7.0.1 sh 'haskell-mtl=1.1.1.0')
+depends=(ghc=7.0.1 sh 'haskell-mtl=2.0.1.0')
 options=('strip')
-source=(http://hackage.haskell.org/packages/archive/regex-base/$pkgver/regex-base-$pkgver.tar.gz)
-install=haskell-regex-base.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz)
+install=${pkgname}.install
 md5sums=('e7b93b0b17eff8d3068ecb2f5d5f6ea3')
 
 build() {
-    cd ${srcdir}/${_hkgname}-$pkgver
-    runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr --docdir=/usr/share/doc/${pkgname}
+    cd ${srcdir}/${_hkgname}-${pkgver}
+    runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr \
+      --docdir=/usr/share/doc/${pkgname} --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup haddock
     runhaskell Setup register   --gen-script




More information about the arch-commits mailing list