Date: Wednesday, November 7, 2018 @ 11:02:43
  Author: felixonmars
Revision: 402712

upgpkg: haskell-text-short 0.1.2-33

rebuild with ghc 8.6.2

Modified:
  haskell-text-short/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-11-07 11:00:14 UTC (rev 402711)
+++ PKGBUILD    2018-11-07 11:02:43 UTC (rev 402712)
@@ -4,7 +4,7 @@
 _hkgname=text-short
 pkgname=haskell-text-short
 pkgver=0.1.2
-pkgrel=32
+pkgrel=33
 pkgdesc="Memory-efficient representation of Unicode text strings"
 url="https://github.com/hvr/text-short";
 license=("custom:BSD3")
@@ -24,7 +24,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-asserts
     runhaskell Setup build
@@ -42,9 +42,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