Date: Wednesday, November 7, 2018 @ 16:27:56
  Author: felixonmars
Revision: 402914

upgpkg: haskell-tree-diff 0.0.1-55

rebuild with ghc 8.6.2

Modified:
  haskell-tree-diff/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-11-07 16:26:46 UTC (rev 402913)
+++ PKGBUILD    2018-11-07 16:27:56 UTC (rev 402914)
@@ -3,7 +3,7 @@
 _hkgname=tree-diff
 pkgname=haskell-tree-diff
 pkgver=0.0.1
-pkgrel=54
+pkgrel=55
 pkgdesc="Diffing of (expression) trees"
 url="https://github.com/phadej/tree-diff";
 license=('custom:BSD3')
@@ -27,7 +27,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
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -44,9 +44,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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }

Reply via email to