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

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


    Date: Wednesday, November 7, 2018 @ 09:49:12
  Author: felixonmars
Revision: 402586

upgpkg: haskell-th-utilities 0.2.0.1-62

rebuild with ghc 8.6.2

Modified:
  haskell-th-utilities/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 09:47:55 UTC (rev 402585)
+++ PKGBUILD	2018-11-07 09:49:12 UTC (rev 402586)
@@ -3,7 +3,7 @@
 _hkgname=th-utilities
 pkgname=haskell-th-utilities
 pkgver=0.2.0.1
-pkgrel=61
+pkgrel=62
 pkgdesc="Collection of useful functions for use with Template Haskell"
 url="https://github.com/fpco/th-utilities"
 license=('MIT')
@@ -14,10 +14,10 @@
 sha512sums=('30cb5c09071beb1f8e029d217fefc6e58aa6eaa8a28994990d1549091fc174195b04a10e7873b1ac5f894cb4a528bf9764256ff1ad5c969493fbf5f872f1749f')
 
 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
@@ -27,11 +27,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