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

Felix Yan felixonmars at archlinux.org
Fri Sep 29 21:42:31 UTC 2017


    Date: Friday, September 29, 2017 @ 21:42:30
  Author: felixonmars
Revision: 261108

upgpkg: haskell-gtk2hs-buildtools 0.13.3.0-1

rebuild with gtk2hs-buildtools,0.13.3.0

Modified:
  haskell-gtk2hs-buildtools/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-29 21:37:20 UTC (rev 261107)
+++ PKGBUILD	2017-09-29 21:42:30 UTC (rev 261108)
@@ -2,8 +2,8 @@
 # Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
 
 pkgname=haskell-gtk2hs-buildtools
-pkgver=0.13.2.2
-pkgrel=12
+pkgver=0.13.3.0
+pkgrel=1
 pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries."
 url="https://hackage.haskell.org/package/gtk2hs-buildtools"
 license=('GPL2')
@@ -13,20 +13,9 @@
 provides=('gtk2hs-buildtools')
 conflicts=('gtk2hs-buildtools')
 replaces=('gtk2hs-buildtools')
-source=("https://github.com/gtk2hs/gtk2hs/archive/843d83548bd076975f1869e6768768b5ed24b268.tar.gz")
-sha512sums=('610a080ddf8ad8511176a7fd5ed5457aa26b5ce48539b7eb46563d86db1ffab6501f8b4deac4152f7d9cea84093de34e1bd1bb9467f558f1c202026337e1c708')
+source=("https://hackage.haskell.org/packages/archive/gtk2hs-buildtools/${pkgver}/gtk2hs-buildtools-${pkgver}.tar.gz")
+sha512sums=('c2184bc8699b74beb92cdc32e3ee86d29f0f4ce79d03475d5ec6a12e5de440029a16b8a621bffc1fff111a8967d7d3f38be8a2e8e51448b3f338ba5df34be9ca')
 
-prepare() {
-    mv gtk2hs-843d83548bd076975f1869e6768768b5ed24b268/tools gtk2hs-buildtools-$pkgver
-
-    cd gtk2hs-buildtools-$pkgver
-
-    sed -i 's/Cabal >= 1.24.0.0 && < 1.25,/Cabal >= 1.24.0.0,/' gtk2hs-buildtools.cabal
-    sed -e '/import Distribution.Simple.LocalBuildInfo/i import Distribution.Types.LocalBuildInfo as TLBI' \
-        -e 's/LBI.componentsConfigs/TLBI.componentsConfigs/' \
-        -i src/Gtk2HsSetup.hs
-}
-
 build() {
     cd "${srcdir}/gtk2hs-buildtools-${pkgver}"
 



More information about the arch-commits mailing list