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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:13:58 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:13:58
  Author: felixonmars
Revision: 401936

upgpkg: haskell-ifelse 0.85-12

rebuild with ghc 8.6.1

Modified:
  haskell-ifelse/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:13:21 UTC (rev 401935)
+++ PKGBUILD	2018-11-06 19:13:58 UTC (rev 401936)
@@ -4,7 +4,7 @@
 _hkgname=IfElse
 pkgname=haskell-ifelse
 pkgver=0.85
-pkgrel=11
+pkgrel=12
 pkgdesc="Anaphoric and miscellaneous useful control-flow"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('5378b0f98d3a14dbc5b297a01a5c48aed4825f4ab2192e35b3a6aee932cce5b740e5ea44cbbd69dc3e74ff38415d77df43136e2a8ddf9bc6fd9fe1497a6dcd1c')
 
 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