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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 21:53:51 UTC 2018


    Date: Tuesday, November 6, 2018 @ 21:53:51
  Author: felixonmars
Revision: 402284

upgpkg: haskell-tuple-th 0.2.5-10

rebuild with ghc 8.6.2

Modified:
  haskell-tuple-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 21:53:33 UTC (rev 402283)
+++ PKGBUILD	2018-11-06 21:53:51 UTC (rev 402284)
@@ -4,7 +4,7 @@
 _hkgname=tuple-th
 pkgname=haskell-tuple-th
 pkgver=0.2.5
-pkgrel=9
+pkgrel=10
 pkgdesc="Generate (non-recursive) utility functions for tuples of statically known size"
 url="https://github.com/DanielSchuessler/tuple-th"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('725864ef973188f6db0be431358a87dca630c8c3be554f651933b1198c06568a1fba34f78763ff639292632c7a848839c1f4d3236a3d8bd96e1f10573b01508e')
 
 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