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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 22:35:24 UTC 2018


    Date: Tuesday, November 6, 2018 @ 22:35:23
  Author: felixonmars
Revision: 402361

upgpkg: haskell-pango 0.13.5.0-8

rebuild with ghc 8.6.2

Modified:
  haskell-pango/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 22:34:25 UTC (rev 402360)
+++ PKGBUILD	2018-11-06 22:35:23 UTC (rev 402361)
@@ -3,7 +3,7 @@
 _hkgname=pango
 pkgname=haskell-pango
 pkgver=0.13.5.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Binding to the pango library for Gtk2Hs."
 url="https://hackage.haskell.org/package/pango"
 license=('LGPL2.1')
@@ -17,10 +17,10 @@
 sha512sums=('d1d6e61118f193d0849e44a2f589391e36f9e6bc80cbf45071d01384e12f600158cad11a49b194388baa1c8c8941a16f8b147a67982016bd9b95035a5f108827')
 
 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
@@ -30,9 +30,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