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

Felix Yan felixonmars at archlinux.org
Tue Aug 25 22:39:19 UTC 2020


    Date: Tuesday, August 25, 2020 @ 22:39:18
  Author: felixonmars
Revision: 688857

upgpkg: haskell-validation-selective 0.1.0.0-2: rebuild with random 1.2.0

Modified:
  haskell-validation-selective/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-25 22:38:25 UTC (rev 688856)
+++ PKGBUILD	2020-08-25 22:39:18 UTC (rev 688857)
@@ -4,7 +4,7 @@
 _hkgname=validation-selective
 pkgname=haskell-validation-selective
 pkgver=0.1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Lighweight pure data validation based on Applicative and Selective functors."
 url="https://github.com/kowainik/validation-selective"
 license=('MPL2')
@@ -29,7 +29,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
@@ -47,6 +47,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