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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 18:39:29 UTC 2018


    Date: Tuesday, November 6, 2018 @ 18:39:29
  Author: felixonmars
Revision: 401853

upgpkg: haskell-entropy 0.4.1.3-3

rebuild with ghc 8.6.1

Modified:
  haskell-entropy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 18:38:54 UTC (rev 401852)
+++ PKGBUILD	2018-11-06 18:39:29 UTC (rev 401853)
@@ -3,7 +3,7 @@
 
 pkgname=haskell-entropy
 pkgver=0.4.1.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A mostly platform independent (not GHCJS) method to obtain cryptographically strong entropy"
 url="https://hackage.haskell.org/package/entropy"
 license=('custom:BSD3')
@@ -17,7 +17,7 @@
     cd "${srcdir}/entropy-${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
@@ -29,9 +29,9 @@
 package() {
     cd "${srcdir}/entropy-${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