[arch-commits] Commit in haskell-crypto-pubkey-types/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Nov 7 12:32:12 UTC 2018


    Date: Wednesday, November 7, 2018 @ 12:32:12
  Author: felixonmars
Revision: 402764

upgpkg: haskell-crypto-pubkey-types 0.4.3-77

rebuild with ghc 8.6.2

Modified:
  haskell-crypto-pubkey-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 12:31:32 UTC (rev 402763)
+++ PKGBUILD	2018-11-07 12:32:12 UTC (rev 402764)
@@ -4,7 +4,7 @@
 _hkgname=crypto-pubkey-types
 pkgname=haskell-crypto-pubkey-types
 pkgver=0.4.3
-pkgrel=76
+pkgrel=77
 pkgdesc="Generic cryptography Public keys algorithm types"
 url="https://github.com/vincenthz/hs-crypto-pubkey-types"
 license=('custom:BSD3')
@@ -15,10 +15,10 @@
 sha512sums=('08e6b74ded0decaaf87b4b9ec15af2e8bbeb7095701b5e2062b570af1ecb3d25eb706d6bd91795acfaaf7d09d0e9040359736a0a06a1bc593ef0d8aaf3e374d6')
 
 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
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -28,11 +28,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