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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 09:39:53 UTC 2018


    Date: Wednesday, November 7, 2018 @ 09:39:53
  Author: felixonmars
Revision: 402576

upgpkg: haskell-interpolatedstring-perl6 1.0.1-4

rebuild with ghc 8.6.2

Modified:
  haskell-interpolatedstring-perl6/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 09:39:19 UTC (rev 402575)
+++ PKGBUILD	2018-11-07 09:39:53 UTC (rev 402576)
@@ -3,7 +3,7 @@
 _hkgname=interpolatedstring-perl6
 pkgname=haskell-interpolatedstring-perl6
 pkgver=1.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="QuasiQuoter for Perl6-style multi-line interpolated strings"
 url="https://github.com/audreyt/interpolatedstring-perl6"
 license=('custom:PublicDomain')
@@ -14,10 +14,10 @@
 sha512sums=('e3b793515bda8c04f9b6ff0bc61614fb1e9e2cbad79592333c09d7d134e3d83ec341049b68debf391fac0760b6f01aa8c6817d69207e0db42e239e9eb3f2385d')
 
 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}" --datasubdir="$pkgname" \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$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