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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 13:15:34 UTC 2018


    Date: Wednesday, November 7, 2018 @ 13:15:34
  Author: felixonmars
Revision: 402834

upgpkg: haskell-nettle 0.3.0-21

rebuild with ghc 8.6.2

Modified:
  haskell-nettle/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 13:14:50 UTC (rev 402833)
+++ PKGBUILD	2018-11-07 13:15:34 UTC (rev 402834)
@@ -3,7 +3,7 @@
 _hkgname=nettle
 pkgname=haskell-nettle
 pkgver=0.3.0
-pkgrel=20
+pkgrel=21
 pkgdesc="Safe nettle binding"
 url="https://github.com/stbuehler/haskell-nettle"
 license=('MIT')
@@ -15,10 +15,10 @@
 sha512sums=('9bc875c0674ea615f47c498bd40fcbd8ffb356e99b30bde6b0e350a9dcfed353bc21242ea625cecc23b16b617f1e163dab42740cadc49ac5c73f161fd0898ac7')
 
 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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
 }


More information about the arch-commits mailing list