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

Felix Yan felixonmars at archlinux.org
Mon May 25 11:30:55 UTC 2020


    Date: Monday, May 25, 2020 @ 11:30:55
  Author: felixonmars
Revision: 634146

upgpkg: haskell-persistent-template 2.8.2.3-38: rebuild with aeson 1.5.0.0

Modified:
  haskell-persistent-template/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-25 11:07:26 UTC (rev 634145)
+++ PKGBUILD	2020-05-25 11:30:55 UTC (rev 634146)
@@ -4,7 +4,7 @@
 _hkgname=persistent-template
 pkgname=haskell-persistent-template
 pkgver=2.8.2.3
-pkgrel=37
+pkgrel=38
 pkgdesc="Type-safe, non-relational, multi-backend persistence"
 url="http://www.yesodweb.com/book/persistent"
 license=("MIT")
@@ -16,6 +16,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('eef94f07783f2b61ed4d00c75a57e976e2546ee1cb564471ea33e5faf01634701a7b60b4c1ee64594e0058949966f132fe46f1a5efc5a64f949fc6e6b27d5ddb')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *1.5/<2/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 


More information about the arch-commits mailing list