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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:49:42 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:49:42
  Author: felixonmars
Revision: 402022

upgpkg: haskell-parsec-numbers 0.1.0-4

rebuild with ghc 8.6.1

Modified:
  haskell-parsec-numbers/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:49:09 UTC (rev 402021)
+++ PKGBUILD	2018-11-06 19:49:42 UTC (rev 402022)
@@ -4,7 +4,7 @@
 _hkgname=parsec-numbers
 pkgname=haskell-${_hkgname}
 pkgver=0.1.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Number parsers without the need to use a large (and unportable) token parser'
 url='https://hackage.haskell.org/package/parsec-numbers'
 arch=('x86_64')
@@ -17,7 +17,7 @@
 build() {
   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,7 +30,7 @@
   cd ${_hkgname}-${pkgver}
   install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
   install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-  runhaskell Setup copy --destdir="${pkgdir}"
+  runhaskell Setup copy --destdir="$pkgdir"
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 



More information about the arch-commits mailing list