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

Rémy Oudompheng remy at archlinux.org
Fri Nov 26 17:06:12 UTC 2010


    Date: Friday, November 26, 2010 @ 12:06:12
  Author: remy
Revision: 100927

upgpkg: haskell-hashed-storage 0.5.3-2
Rebuild for ghc-7.0.1

Modified:
  haskell-hashed-storage/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-26 17:05:39 UTC (rev 100926)
+++ PKGBUILD	2010-11-26 17:06:12 UTC (rev 100927)
@@ -4,24 +4,25 @@
 _hkgname=hashed-storage
 pkgname=haskell-hashed-storage
 pkgver=0.5.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Hashed file storage support code."
 url="http://hackage.haskell.org/package/hashed-storage"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=6.12.3' 'haskell-binary=0.5.0.2' 'haskell-mmap>=0.5' 'haskell-zlib'  'haskell-mtl' 'haskell-dataenc')
+depends=('ghc=7.0.1' 'haskell-binary=0.5.0.2' 'haskell-mmap>=0.5' 'haskell-zlib'  'haskell-mtl' 'haskell-dataenc')
 options=('strip')
 source=(http://hackage.haskell.org/packages/archive/hashed-storage/$pkgver/hashed-storage-$pkgver.tar.gz)
-install=haskell-hashed-storage.install
+install=${pkgname}.install
 md5sums=('84b9fc1b408aee53c5106d9737ca4929')
 
 build() {
-    cd ${srcdir}/hashed-storage-$pkgver
-    runhaskell Setup configure --prefix=/usr -p --enable-split-objs --enable-shared --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}
     runhaskell Setup build
     runhaskell Setup haddock
     runhaskell Setup register   --gen-script
     runhaskell Setup unregister --gen-script
+    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
 package() {




More information about the arch-commits mailing list