[arch-commits] Commit in haskell-newtype/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 23 13:52:29 UTC 2020
Date: Thursday, April 23, 2020 @ 13:52:29
Author: felixonmars
Revision: 618144
upgpkg: haskell-newtype 0.2.2.0-5: rebuild with ghc 8.10.1
Modified:
haskell-newtype/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-23 13:29:40 UTC (rev 618143)
+++ PKGBUILD 2020-04-23 13:52:29 UTC (rev 618144)
@@ -3,7 +3,7 @@
_hkgname=newtype
pkgname=haskell-newtype
pkgver=0.2.2.0
-pkgrel=4
+pkgrel=5
pkgdesc="A typeclass and set of functions for working with newtypes"
url="https://hackage.haskell.org/package/${_hkgname}"
license=('BSD')
@@ -13,6 +13,11 @@
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
sha512sums=('9d8b344ac5f6ff62d8100b95dd879715639af2d8d1f63a8cb17a18fa7c4f427eade49aa3d6b47034351ac0f2cb5061013f6321038bff1053eb3aa84faf157a5b')
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/< *4.14/<5/' $_hkgname.cabal
+}
+
build() {
cd $_hkgname-$pkgver
More information about the arch-commits
mailing list