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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 18:37:47 UTC 2018


    Date: Tuesday, November 6, 2018 @ 18:37:46
  Author: felixonmars
Revision: 401849

upgpkg: haskell-ed25519 0.0.5.0-10

rebuild with ghc 8.6.1

Modified:
  haskell-ed25519/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 18:37:10 UTC (rev 401848)
+++ PKGBUILD	2018-11-06 18:37:46 UTC (rev 401849)
@@ -4,7 +4,7 @@
 _hkgname=ed25519
 pkgname=haskell-ed25519
 pkgver=0.0.5.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Ed25519 cryptographic signatures"
 url="http://thoughtpolice.github.com/hs-ed25519"
 license=("MIT")
@@ -19,10 +19,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 \
             -f-test-properties -f-test-hlint -f-test-doctests -fno-donna
     runhaskell Setup build
@@ -33,11 +33,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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt"
 }


More information about the arch-commits mailing list