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

Felix Yan felixonmars at archlinux.org
Sun Oct 14 23:08:22 UTC 2018


    Date: Sunday, October 14, 2018 @ 23:08:22
  Author: felixonmars
Revision: 393908

upgpkg: haskell-tar 0.5.1.0-4

rebuild with ghc 8.6.1

Modified:
  haskell-tar/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-14 23:05:45 UTC (rev 393907)
+++ PKGBUILD	2018-10-14 23:08:22 UTC (rev 393908)
@@ -4,7 +4,7 @@
 _hkgname=tar
 pkgname=haskell-tar
 pkgver=0.5.1.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Reading, writing and manipulating \".tar\" archive files."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('60992ef69be64430d7d322816940182ce91669cb31b6612789abf0fca42e8fa292b2f96f284b1857d82e58e159bc5bebdefef97f7c8e3edb85be4836f0b5eb1c')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list