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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 21:46:33 UTC 2018


    Date: Tuesday, November 6, 2018 @ 21:46:32
  Author: felixonmars
Revision: 402262

upgpkg: haskell-transformers-compat 0.6.2-4

rebuild with ghc 8.6.2

Modified:
  haskell-transformers-compat/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 21:45:57 UTC (rev 402261)
+++ PKGBUILD	2018-11-06 21:46:32 UTC (rev 402262)
@@ -5,7 +5,7 @@
 _hkgname=transformers-compat
 pkgname=haskell-transformers-compat
 pkgver=0.6.2
-pkgrel=3
+pkgrel=4
 pkgdesc="A small compatibility shim exposing the new types from transformers 0.3 to older Haskell platforms."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
@@ -16,9 +16,9 @@
 sha512sums=('e56f3ed3d1bd81ecdb1c663e72b24b9668510c6767dda9f919d5143511d3f00e96a4032ea1c0b3c7c12c1d4e368b620027bf34c0e7361433d3ccbc36b536caba')
 
 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