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

Felix Yan felixonmars at archlinux.org
Wed Feb 26 19:40:17 UTC 2020


    Date: Wednesday, February 26, 2020 @ 19:40:16
  Author: felixonmars
Revision: 583101

upgpkg: haskell-persistent-test 2.0.3.0-86: rebuild with persistent-template 2.8.0

Modified:
  haskell-persistent-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-26 19:34:08 UTC (rev 583100)
+++ PKGBUILD	2020-02-26 19:40:16 UTC (rev 583101)
@@ -3,7 +3,7 @@
 _hkgname=persistent-test
 pkgname=haskell-persistent-test
 pkgver=2.0.3.0
-pkgrel=85
+pkgrel=86
 pkgdesc="Tests for Persistent"
 url="https://github.com/yesodweb/persistent"
 license=('MIT')
@@ -18,6 +18,11 @@
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('511aa72db39687b2b90ef262d5dd83a64887902c2fe57bb87bfd437421170f39af4ebf54ba217eddce80d2afac54ed7e546214775f056e478f20de27c518fdf1')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i '/TypeFamilies/a \                    StandaloneDeriving\n                    DerivingStrategies\n                    GeneralizedNewtypeDeriving' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver    
     



More information about the arch-commits mailing list