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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 21:58:28 UTC 2018


    Date: Tuesday, November 6, 2018 @ 21:58:28
  Author: felixonmars
Revision: 402294

upgpkg: haskell-unexceptionalio 0.4.0-5

rebuild with ghc 8.6.2

Modified:
  haskell-unexceptionalio/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 21:57:52 UTC (rev 402293)
+++ PKGBUILD	2018-11-06 21:58:28 UTC (rev 402294)
@@ -4,7 +4,7 @@
 _hkgname=unexceptionalio
 pkgname=haskell-unexceptionalio
 pkgver=0.4.0
-pkgrel=4
+pkgrel=5
 pkgdesc="IO without any non-error, synchronous exceptions"
 url="https://github.com/singpolyma/unexceptionalio"
 license=("custom")
@@ -15,10 +15,10 @@
 sha512sums=('cbee14d9accdb9504cb745705e9c1e8d408c4a657e8bc678906b5c0efbc3efe0dcc740828324ffccff9c95046116c7d4724983a2c9bb57c1cb04ea576b634f5b')
 
 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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
 }


More information about the arch-commits mailing list