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

Felix Yan felixonmars at archlinux.org
Fri May 18 05:56:25 UTC 2018


    Date: Friday, May 18, 2018 @ 05:56:25
  Author: felixonmars
Revision: 324178

upgpkg: haskell-spdx 0.2.2.0-5

rebuild with ghc 8.4.2

Modified:
  haskell-spdx/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-18 05:55:34 UTC (rev 324177)
+++ PKGBUILD	2018-05-18 05:56:25 UTC (rev 324178)
@@ -5,7 +5,7 @@
 _hkgname=spdx
 pkgname=haskell-spdx
 pkgver=0.2.2.0
-pkgrel=4
+pkgrel=5
 pkgdesc="SPDX license expression language"
 url="https://github.com/phadej/spdx"
 license=("custom:BSD3")
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('d9b43299b696f2d86660e6c2da67937febaf812e81181fb9a4b41de40ca3724a532a3dde4734d134e0699883294dd7915763061983d336c371b945d46f357645')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/<.*4.11/<5/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list