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

Felix Yan felixonmars at archlinux.org
Mon Oct 15 13:16:10 UTC 2018


    Date: Monday, October 15, 2018 @ 13:16:09
  Author: felixonmars
Revision: 394122

upgpkg: haskell-safecopy 0.9.4.1-7

rebuild with ghc 8.6.1

Modified:
  haskell-safecopy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-15 13:07:14 UTC (rev 394121)
+++ PKGBUILD	2018-10-15 13:16:09 UTC (rev 394122)
@@ -3,7 +3,7 @@
 _hkgname=safecopy
 pkgname=haskell-safecopy
 pkgver=0.9.4.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Binary serialization with version control."
 url="http://acid-state.seize.it/safecopy"
 license=('custom:PublicDomain')
@@ -13,6 +13,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('7c645cd3e216040e155e814eae72c3f584523f77f1d81835f7a1fb9c5bd63ebd51f746a49584be8a6822866b48119be289f3e74514a054c2f65e6443304e6967')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i -e 's/< *0.6/<1/' -e 's/< *2.14/<3/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list