[arch-commits] Commit in haskell-stm/trunk (PKGBUILD haskell-stm.install)

Rémy Oudompheng remy at archlinux.org
Wed Dec 22 10:23:03 UTC 2010


    Date: Wednesday, December 22, 2010 @ 05:23:03
  Author: remy
Revision: 103634

upgpkg: haskell-stm 2.2.0.1-1
Update to 2.2.0.1 for HP2011 (alpha), install in /usr/lib/ghc-7.0.1

Modified:
  haskell-stm/trunk/PKGBUILD
  haskell-stm/trunk/haskell-stm.install

---------------------+
 PKGBUILD            |    9 +++++----
 haskell-stm.install |    3 +--
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-22 00:26:49 UTC (rev 103633)
+++ PKGBUILD	2010-12-22 10:23:03 UTC (rev 103634)
@@ -3,8 +3,8 @@
 # Package generated by cabal2arch 0.7.5
 _hkgname=stm
 pkgname=haskell-stm
-pkgver=2.1.2.1
-pkgrel=3
+pkgver=2.2.0.1
+pkgrel=1
 pkgdesc="A modular composable concurrency abstraction."
 url="http://hackage.haskell.org/package/stm"
 license=('custom:BSD3')
@@ -13,11 +13,12 @@
 options=('strip')
 source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz)
 install=${pkgname}.install
-md5sums=('3e88c921b0f06701b3adada24b54576e')
+md5sums=('b1cf03ed315e00c33160746feeee8682')
 
 build() {
     cd ${srcdir}/${_hkgname}-$pkgver
-    runhaskell Setup configure -p --enable-split-objs --enable-shared --prefix=/usr --docdir=/usr/share/doc/${pkgname}
+    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

Modified: haskell-stm.install
===================================================================
--- haskell-stm.install	2010-12-22 00:26:49 UTC (rev 103633)
+++ haskell-stm.install	2010-12-22 10:23:03 UTC (rev 103634)
@@ -4,8 +4,7 @@
   (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
 }
 pre_upgrade() {
-  ${HS_DIR}/unregister.sh &> /dev/null
-  exit 0
+  ${HS_DIR}/unregister.sh
 }
 post_upgrade() {
   ${HS_DIR}/register.sh




More information about the arch-commits mailing list