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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 22:32:44 UTC 2018


    Date: Tuesday, November 6, 2018 @ 22:32:44
  Author: felixonmars
Revision: 402357

upgpkg: haskell-listlike 4.6-11

rebuild with ghc 8.6.2

Modified:
  haskell-listlike/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 22:30:49 UTC (rev 402356)
+++ PKGBUILD	2018-11-06 22:32:44 UTC (rev 402357)
@@ -3,7 +3,7 @@
 _hkgname=ListLike
 pkgname=haskell-listlike
 pkgver=4.6
-pkgrel=10
+pkgrel=11
 pkgdesc="Generic support for list-like structures"
 url="https://github.com/sjoerdvisscher/listlike"
 license=('custom:BSD3')
@@ -22,7 +22,7 @@
     cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -39,9 +39,9 @@
 package() {
     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 "COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
 }


More information about the arch-commits mailing list