summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbpark2018-12-20 01:21:29 +0900
committercbpark2018-12-20 01:21:29 +0900
commit8488d07c5311aa7fff8bca68ab2ffa7a951ba3ba (patch)
tree6ee39e21eb179ad20b6e1dda7728e401c80cc93f
parent4459094bf4e72e122e35a3f8e910c4af636194da (diff)
downloadaur-8488d07c5311aa7fff8bca68ab2ffa7a951ba3ba.tar.gz
upgpkg: haskell-threadscope 0.2.11.1-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 12 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd845069d44..21c402e287b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = haskell-threadscope
pkgdesc = A graphical viewer for thread profile information generated by the Glasgow Haskell compiler (GHC).
- pkgver = 0.2.11
+ pkgver = 0.2.11.1
pkgrel = 1
url = http://hackage.haskell.org/package/threadscope
arch = x86_64
@@ -15,8 +15,8 @@ pkgbase = haskell-threadscope
depends = haskell-pango
depends = haskell-text
depends = haskell-file-embed
- source = https://hackage.haskell.org/packages/archive/threadscope/0.2.11/threadscope-0.2.11.tar.gz
- sha512sums = 0eb1e46c9f45629e61b79f82eb4c8e29f99544ccb93025c4d238baf8ef65dcef7e828562b70731ebf900ddef7b86da60178cdf6d61485b5566d313eed1d62784
+ source = https://hackage.haskell.org/packages/archive/threadscope/0.2.11.1/threadscope-0.2.11.1.tar.gz
+ sha512sums = eb09a4d5db700eaf02f8353e25fb9a2b8b6a070a1196fcd7a5418084d16254b7613e3456a2da0e9e3cec25f7676867336fa85e6d3364138667bb58e7b2238cbb
pkgname = haskell-threadscope
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}"