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

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


    Date: Tuesday, November 6, 2018 @ 20:57:56
  Author: felixonmars
Revision: 402165

upgpkg: haskell-skein 1.0.9.4-24

rebuild with ghc 8.6.2

Modified:
  haskell-skein/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:57:16 UTC (rev 402164)
+++ PKGBUILD	2018-11-06 20:57:56 UTC (rev 402165)
@@ -4,7 +4,7 @@
 _hkgname=skein
 pkgname=haskell-skein
 pkgver=1.0.9.4
-pkgrel=23
+pkgrel=24
 pkgdesc="Skein, a family of cryptographic hash functions.  Includes Skein-MAC as well."
 url="https://github.com/meteficha/skein"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('4f449de2db0c9f6a22e3f7375999029c1ab9139ae2e678e5582d5ad05dc8b3c12c99951ede884228579b9acc0243b00b93dca07dd6d1ea314cc0d3d223165c34')
 
 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-big-endian -f-force-endianness -f-reference
     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