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

Felix Yan felixonmars at archlinux.org
Sun Sep 20 12:37:57 UTC 2020


    Date: Sunday, September 20, 2020 @ 12:37:56
  Author: felixonmars
Revision: 711075

upgpkg: haskell-gi 0.24.2-3: fix dependency on gobject-introspection-runtime

Modified:
  haskell-gi/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-20 12:37:13 UTC (rev 711074)
+++ PKGBUILD	2020-09-20 12:37:56 UTC (rev 711075)
@@ -4,21 +4,20 @@
 _hkgname=haskell-gi
 pkgname=haskell-gi
 pkgver=0.24.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Generate Haskell bindings for GObject Introspection capable libraries"
 url="https://github.com/haskell-gi/haskell-gi"
 license=("LGPL2")
 arch=('x86_64')
-depends=('ghc-libs' 'glib2' 'haskell-gi-base' 'haskell-ansi-terminal' 'haskell-attoparsec'
-         'haskell-pretty-show' 'haskell-safe' 'haskell-xdg-basedir' 'haskell-xml-conduit'
-         'haskell-regex-tdfa')
-makedepends=('ghc' 'gobject-introspection' 'haskell-cabal-doctest' 'haskell-doctest')
+depends=('ghc-libs' 'glib2' 'gobject-introspection-runtime' 'haskell-gi-base'
+         'haskell-ansi-terminal' 'haskell-attoparsec' 'haskell-pretty-show' 'haskell-safe'
+         'haskell-xdg-basedir' 'haskell-xml-conduit' 'haskell-regex-tdfa')
+makedepends=('ghc' 'arch-hs' 'gobject-introspection' 'haskell-cabal-doctest' 'haskell-doctest')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('b2e31128a11679f33ac6519106973606fda59f0fd285fe1197733f163eb96a6620ec90b2ff00f2190140310256ad4fe03d2d8b4d44e2c551d15a94ac510029bb')
 
 prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/\^>= 0.10/>= 0.10/' $_hkgname.cabal
+    arch-hs-uusi $_hkgname-$pkgver/$_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list