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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 22:15:49 UTC 2018


    Date: Tuesday, November 6, 2018 @ 22:15:48
  Author: felixonmars
Revision: 402329

upgpkg: haskell-utility-ht 0.0.14-9

rebuild with ghc 8.6.2

Modified:
  haskell-utility-ht/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 22:15:11 UTC (rev 402328)
+++ PKGBUILD	2018-11-06 22:15:48 UTC (rev 402329)
@@ -4,7 +4,7 @@
 _hkgname=utility-ht
 pkgname=haskell-utility-ht
 pkgver=0.0.14
-pkgrel=8
+pkgrel=9
 pkgdesc="Various small helper functions for Lists, Maybes, Tuples, Functions"
 url="http://www.haskell.org/haskellwiki/Utility-HT"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('57e4f3fef2770c9906d4003b3a8182ecf875d19f155757752a2e4d0695c5c4be3c9d87da5774e802c1774a6d8ae4ca64e8f924146169af26501a9d77dbb0f762')
 
 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