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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:25:28 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:25:28
  Author: felixonmars
Revision: 401966

upgpkg: haskell-microlens-ghc 0.4.10-2

rebuild with ghc 8.6.1

Modified:
  haskell-microlens-ghc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:24:54 UTC (rev 401965)
+++ PKGBUILD	2018-11-06 19:25:28 UTC (rev 401966)
@@ -4,7 +4,7 @@
 _hkgname=microlens-ghc
 pkgname=haskell-microlens-ghc
 pkgver=0.4.10
-pkgrel=1
+pkgrel=2
 pkgdesc="microlens + array, bytestring, containers, transformers"
 url="https://github.com/monadfix/microlens"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('dd5c0d5c3bea4919b3074b2c3fbd16ed9a249dd6d5c4e24c6c6aab79b9c3fd0211b702911cd10d21e0d71d08753709f0f14c60a85ee514b2cb5b5a559a8e7c29')
 
 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