summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ed704f04918..9db90e00e40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_hkgname=threadscope
pkgname=haskell-threadscope
-pkgver=0.2.11
+pkgver=0.2.11.1
pkgrel=1
pkgdesc="A graphical viewer for thread profile information generated by the Glasgow Haskell compiler (GHC)."
url="http://hackage.haskell.org/package/${_hkgname}"
@@ -19,7 +19,14 @@ depends=('ghc-libs'
'haskell-file-embed')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('0eb1e46c9f45629e61b79f82eb4c8e29f99544ccb93025c4d238baf8ef65dcef7e828562b70731ebf900ddef7b86da60178cdf6d61485b5566d313eed1d62784')
+sha512sums=('eb09a4d5db700eaf02f8353e25fb9a2b8b6a070a1196fcd7a5418084d16254b7613e3456a2da0e9e3cec25f7676867336fa85e6d3364138667bb58e7b2238cbb')
+
+prepare() {
+ cd "${srcdir}/${_hkgname}-${pkgver}"
+
+ sed -i 's/gtk >= 0.12 && < 0.15,/gtk,/' threadscope.cabal
+ sed -i 's/template-haskell < 2.14,/template-haskell,/' threadscope.cabal
+}
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"