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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 17:44:48 UTC 2018


    Date: Tuesday, November 6, 2018 @ 17:44:48
  Author: felixonmars
Revision: 401724

upgpkg: haskell-hscolour 1.24.4-5

rebuild with ghc 8.6.1

Modified:
  haskell-hscolour/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 17:39:31 UTC (rev 401723)
+++ PKGBUILD	2018-11-06 17:44:48 UTC (rev 401724)
@@ -4,7 +4,7 @@
 _hkgname=hscolour
 pkgname=haskell-hscolour
 pkgver=1.24.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Colourise Haskell code."
 url="http://code.haskell.org/~malcolm/hscolour/"
 license=("LGPL")
@@ -15,10 +15,10 @@
 sha512sums=('39b631c0a8346beff1c2e02ca8e72c1b1e3f7dafcedad7dc9de274e6750501de2bc553fe72a7d3459d4f9797e916f27e28ff96f705c2c0f9d3e0eec0ac6182c7')
 
 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
@@ -28,9 +28,9 @@
 }
 
 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"
 }



More information about the arch-commits mailing list