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

Felix Yan felixonmars at archlinux.org
Wed May 16 20:30:16 UTC 2018


    Date: Wednesday, May 16, 2018 @ 20:30:16
  Author: felixonmars
Revision: 323229

upgpkg: haskell-generic-deriving 1.12.1-6

rebuild with ghc 8.4.2

Modified:
  haskell-generic-deriving/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-16 20:30:08 UTC (rev 323228)
+++ PKGBUILD	2018-05-16 20:30:16 UTC (rev 323229)
@@ -5,7 +5,7 @@
 _hkgname=generic-deriving
 pkgname=haskell-generic-deriving
 pkgver=1.12.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Generic programming library for generalised deriving."
 url="https://github.com/dreixel/generic-deriving"
 license=("custom:BSD3")
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('6196d23e95eae2ee90c5b9b82027d09244fc8cedda3ed8222e8ad43fc2b7400ab5ed893fc5f9a477d5dce7e09a40c0551e4480ec76f7ff8c4a588979fa31fefe')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -e 's/<.*2.13/<3/' -i $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list