[arch-commits] Commit in haskell-prettyprinter-ansi-terminal/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Nov 7 13:02:57 UTC 2018


    Date: Wednesday, November 7, 2018 @ 13:02:56
  Author: felixonmars
Revision: 402812

upgpkg: haskell-prettyprinter-ansi-terminal 1.1.1.2-29

rebuild with ghc 8.6.2

Modified:
  haskell-prettyprinter-ansi-terminal/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 13:01:49 UTC (rev 402811)
+++ PKGBUILD	2018-11-07 13:02:56 UTC (rev 402812)
@@ -3,7 +3,7 @@
 _hkgname=prettyprinter-ansi-terminal
 pkgname=haskell-prettyprinter-ansi-terminal
 pkgver=1.1.1.2
-pkgrel=28
+pkgrel=29
 pkgdesc="ANSI terminal backend for the prettyprinter package."
 url="https://github.com/quchen/prettyprinter-ansi-terminal"
 license=('custom:BSD2')
@@ -17,7 +17,7 @@
     cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -f-buildReadme
     runhaskell Setup build
@@ -35,9 +35,9 @@
 package() {
     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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
 }


More information about the arch-commits mailing list