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

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


    Date: Wednesday, December 22, 2010 @ 09:24:43
  Author: remy
Revision: 103675

upgpkg: haskell-mtl 2.0.1.0-1
Update for HP2011 alpha (major version bump), install in /usr/lib/ghc-7.0.1

Modified:
  haskell-mtl/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-22 14:11:22 UTC (rev 103674)
+++ PKGBUILD	2010-12-22 14:24:43 UTC (rev 103675)
@@ -2,21 +2,22 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 _hkgname=mtl
 pkgname=haskell-mtl
-pkgver=1.1.1.0
+pkgver=2.0.1.0
 pkgrel=1
 pkgdesc="Monad transformer library"
-url="http://hackage.haskell.org/package/mtl"
+url="http://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=(ghc=7.0.1 sh)
+depends=(ghc=7.0.1 sh 'haskell-transformers=0.2.2.0')
 options=('strip')
-source=(http://hackage.haskell.org/packages/archive/mtl/$pkgver/mtl-$pkgver.tar.gz)
-install=haskell-mtl.install
-md5sums=('2d12f18f36f9493f495f21647f97b66f')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz)
+install=${pkgname}.install
+md5sums=('934fa813625ef7e88a6a96a09815ff95')
 
 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