[arch-commits] Commit in haskell-crypto-api-tests/trunk (PKGBUILD)

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


    Date: Tuesday, November 6, 2018 @ 23:23:43
  Author: felixonmars
Revision: 402453

upgpkg: haskell-crypto-api-tests 0.3-14

rebuild with ghc 8.6.2

Modified:
  haskell-crypto-api-tests/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 23:22:59 UTC (rev 402452)
+++ PKGBUILD	2018-11-06 23:23:43 UTC (rev 402453)
@@ -3,7 +3,7 @@
 _hkgname=crypto-api-tests
 pkgname=haskell-crypto-api-tests
 pkgver=0.3
-pkgrel=13
+pkgrel=14
 pkgdesc="A test framework and KATs for cryptographic operations."
 url="http://trac.haskell.org/crypto-api/wiki"
 license=('custom:BSD3')
@@ -19,7 +19,7 @@
     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
@@ -31,9 +31,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 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list