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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 20:56:59 UTC 2018


    Date: Tuesday, November 6, 2018 @ 20:56:59
  Author: felixonmars
Revision: 402163

upgpkg: haskell-puremd5 2.1.3-18

rebuild with ghc 8.6.2

Modified:
  haskell-puremd5/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:56:22 UTC (rev 402162)
+++ PKGBUILD	2018-11-06 20:56:59 UTC (rev 402163)
@@ -4,7 +4,7 @@
 _hkgname=pureMD5
 pkgname=haskell-puremd5 
 pkgver=2.1.3
-pkgrel=17
+pkgrel=18
 pkgdesc="A Haskell-only implementation of the MD5 digest (hash) algorithm"
 url="https://hackage.haskell.org/package/pureMD5"
 license=('custom:BSD3')
@@ -15,10 +15,10 @@
 sha512sums=('4be26ab8383bc51aaefb2e22cd758945eab00d1ca9612fc0a1b6ba1a581ea7dca55580f50c11dd60c72aeb1f3c418c73c52df34a1be168d878602540394201dc')
 
 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
     runhaskell Setup build
@@ -29,11 +29,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