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

Felix Yan felixonmars at archlinux.org
Mon Oct 15 10:17:46 UTC 2018


    Date: Monday, October 15, 2018 @ 10:17:45
  Author: felixonmars
Revision: 393996

upgpkg: haskell-th-abstraction 0.2.8.0-2

rebuild with ghc 8.6.1

Modified:
  haskell-th-abstraction/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-15 10:17:39 UTC (rev 393995)
+++ PKGBUILD	2018-10-15 10:17:45 UTC (rev 393996)
@@ -4,7 +4,7 @@
 _hkgname=th-abstraction
 pkgname=haskell-th-abstraction
 pkgver=0.2.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Nicer interface for reified information about data types"
 url="https://github.com/glguy/th-abstraction/"
 license=("custom:ISC")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('42454e652be3bf21a2ab129a0fa051891879b7e9b7df7bc092912878b2c999dc7495b29887a1ab837d60e3b4d14b7f3c6b5d99f6ca6265f29765a4cc5acdf1fb')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -e 's/< *0.6/<1/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list