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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 22:26:38 UTC 2018


    Date: Tuesday, November 6, 2018 @ 22:26:37
  Author: felixonmars
Revision: 402349

upgpkg: haskell-hashtables 1.2.3.1-6

rebuild with ghc 8.6.2

Modified:
  haskell-hashtables/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 22:25:54 UTC (rev 402348)
+++ PKGBUILD	2018-11-06 22:26:37 UTC (rev 402349)
@@ -4,7 +4,7 @@
 _hkgname=hashtables
 pkgname=haskell-hashtables
 pkgver=1.2.3.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Mutable hash tables in the ST monad"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
@@ -15,10 +15,10 @@
 sha512sums=('9adb7f587d7e03417a335ad4ff8c333e66a9acdabe70a568f0a3ed6cb02d7b7b124e59ec7d67661b3d174bf9afdf3916b4a0b8d631604b7fdb2a0270c68e7fa9')
 
 build() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
+    cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -28,11 +28,11 @@
 }
 
 package() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
+    cd $_hkgname-$pkgver
     
-    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+    install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+    runhaskell Setup copy --destdir="$pkgdir"
     install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }


More information about the arch-commits mailing list