Date: Saturday, March 18, 2023 @ 07:37:18 Author: felixonmars Revision: 1421947
upgpkg: haskell-gi 0.26.3-11: add a patch to fix gi-glib generation issue (https://github.com/haskell-gi/haskell-gi/pull/401) Modified: haskell-gi/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-18 07:27:13 UTC (rev 1421946) +++ PKGBUILD 2023-03-18 07:37:18 UTC (rev 1421947) @@ -4,7 +4,7 @@ _hkgname=haskell-gi pkgname=haskell-gi pkgver=0.26.3 -pkgrel=10 +pkgrel=11 pkgdesc="Generate Haskell bindings for GObject Introspection capable libraries" url="https://github.com/haskell-gi/haskell-gi" license=("LGPL2") @@ -13,9 +13,16 @@ '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') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('65423d5b0b91e70150fc5ba3952f67b23eb8539f4472978cd1d20701a9dd63c010071325e54aa8bb58f0a0ae42ff702aac2f1aaf00c463da2d93ea4ad697a468') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz" + gunichar-array.patch::https://github.com/haskell-gi/haskell-gi/pull/401.patch) +sha512sums=('65423d5b0b91e70150fc5ba3952f67b23eb8539f4472978cd1d20701a9dd63c010071325e54aa8bb58f0a0ae42ff702aac2f1aaf00c463da2d93ea4ad697a468' + '362f9282bc0c13e2b21952258ac1ed4570be6241a69f756b60e3f666bfac8743b26290a38e1516636fd1d5e955bfa78a699c856b7cfd68e774cb59d36cb66c58') +prepare() { + cd $_hkgname-$pkgver + patch -p1 -i ../gunichar-array.patch +} + build() { cd $_hkgname-$pkgver
