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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 18:43:03 UTC 2018


    Date: Tuesday, November 6, 2018 @ 18:43:03
  Author: felixonmars
Revision: 401861

upgpkg: haskell-fgl 5.6.0.0-5

rebuild with ghc 8.6.1

Modified:
  haskell-fgl/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 18:42:22 UTC (rev 401860)
+++ PKGBUILD	2018-11-06 18:43:03 UTC (rev 401861)
@@ -4,7 +4,7 @@
 _hkgname=fgl
 pkgname=haskell-fgl
 pkgver=5.6.0.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Martin Erwig's Functional Graph Library"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -22,10 +22,10 @@
 }
 
 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 \
             -fcontainers042
     runhaskell Setup build
@@ -36,11 +36,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