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

Felix Yan felixonmars at archlinux.org
Wed Dec 23 22:15:27 UTC 2020


    Date: Wednesday, December 23, 2020 @ 22:15:27
  Author: felixonmars
Revision: 785481

upgpkg: haskell-monadprompt 1.0.0.5-2: rebuild with ghc 8.10.3

Modified:
  haskell-monadprompt/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-23 22:15:02 UTC (rev 785480)
+++ PKGBUILD	2020-12-23 22:15:27 UTC (rev 785481)
@@ -3,7 +3,7 @@
 _hkgname=MonadPrompt
 pkgname=haskell-monadprompt
 pkgver=1.0.0.5
-pkgrel=1
+pkgrel=2
 pkgdesc="MonadPrompt, implementation & examples"
 url="https://hackage.haskell.org/package/MonadPrompt"
 license=("BSD")
@@ -22,7 +22,7 @@
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
     --ghc-option='-pie'
 
-  runhaskell Setup build
+  runhaskell Setup build $MAKEFLAGS
   runhaskell Setup register --gen-script
   runhaskell Setup unregister --gen-script
   sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -35,6 +35,6 @@
   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"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }



More information about the arch-commits mailing list