[arch-commits] Commit in haskell-text-short/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jun 3 07:57:14 UTC 2018


    Date: Sunday, June 3, 2018 @ 07:57:14
  Author: felixonmars
Revision: 338870

upgpkg: haskell-text-short 0.1.2-18

rebuild with tasty 1.1.0.1

Modified:
  haskell-text-short/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-03 07:53:39 UTC (rev 338869)
+++ PKGBUILD	2018-06-03 07:57:14 UTC (rev 338870)
@@ -5,7 +5,7 @@
 _hkgname=text-short
 pkgname=haskell-text-short
 pkgver=0.1.2
-pkgrel=17
+pkgrel=18
 pkgdesc="Memory-efficient representation of Unicode text strings"
 url="https://github.com/hvr/text-short"
 license=("custom:BSD3")
@@ -16,6 +16,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('f0d454f4146bfa220ff02e9e76ae366c5f6d5b4253296e8f96299ed3f30b9b982d5daca6f50b0681b6ccf5fba7103914f6a8688d0da89740dcd71d1eda9c9851')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/<.*1.1/<2/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list