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

Felix Yan felixonmars at archlinux.org
Wed Apr 1 10:13:15 UTC 2020


    Date: Wednesday, April 1, 2020 @ 10:13:15
  Author: felixonmars
Revision: 608620

upgpkg: haskell-email-validate 2.3.2.12-24: rebuild with QuickCheck 2.14

Modified:
  haskell-email-validate/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-01 09:53:30 UTC (rev 608619)
+++ PKGBUILD	2020-04-01 10:13:15 UTC (rev 608620)
@@ -4,7 +4,7 @@
 _hkgname=email-validate
 pkgname=haskell-email-validate
 pkgver=2.3.2.12
-pkgrel=23
+pkgrel=24
 pkgdesc="Validating an email address string against RFC 5322"
 url="http://porg.es/blog/email-address-validation-simpler-faster-more-correct"
 license=("BSD")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('f049ccc6de998c23c1c6cefd7af378fe5d5ebc3d935b185865a90044c8721c982736c59a52d985d3476f5a8b1dd890dd32d02032663a9888b8001d2f623e5b0c')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *2.14/<3/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list