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

Felix Yan felixonmars at gemini.archlinux.org
Fri Jul 23 05:55:04 UTC 2021


    Date: Friday, July 23, 2021 @ 05:55:04
  Author: felixonmars
Revision: 984125

upgpkg: haskell-citeproc 0.4.1-3: enable icu flag

Modified:
  haskell-citeproc/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-23 05:53:29 UTC (rev 984124)
+++ PKGBUILD	2021-07-23 05:55:04 UTC (rev 984125)
@@ -3,7 +3,7 @@
 _hkgname=citeproc
 pkgname=haskell-citeproc
 pkgver=0.4.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Generates citations and bibliography from CSL styles."
 url="https://github.com/jgm/citeproc"
 license=("BSD")
@@ -10,14 +10,17 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
          'haskell-case-insensitive' 'haskell-data-default' 'haskell-file-embed'
-         'haskell-pandoc-types' 'haskell-safe' 'haskell-scientific' 'haskell-unicode-collation'
-         'haskell-uniplate' 'haskell-vector' 'haskell-xml-conduit')
+         'haskell-pandoc-types' 'haskell-safe' 'haskell-scientific' 'haskell-text-icu'
+         'haskell-unicode-collation' 'haskell-uniplate' 'haskell-vector' 'haskell-xml-conduit')
 makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-timeit')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('64a62485d322e3032b1d7754c40ae37c9decb0e1cc4446352ecaa80552bf4673447cebc09a2e8756063923231d2f623925b3d5ec07bd64e23ccd18c72703eb15')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz"
+        icu-shifted.patch::https://github.com/jgm/citeproc/commit/50d14d938c883a8835550933df4004050b0b3902.patch)
+sha512sums=('64a62485d322e3032b1d7754c40ae37c9decb0e1cc4446352ecaa80552bf4673447cebc09a2e8756063923231d2f623925b3d5ec07bd64e23ccd18c72703eb15'
+            'd05f2d86e71d166a66cc85e40f0ff34b1e0216abaece76b2200823c22f4d9d1fc72549a9c14e4999a0d8cf8d4fb2cfd184573e5298c13266c5168bc56ba59674')
 
 prepare() {
   cd $_hkgname-$pkgver
+  patch -p1 -i ../icu-shifted.patch
   gen-setup
 }
 
@@ -28,8 +31,7 @@
     --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
     --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie' -fexecutable
-    # -ficu disabled: https://github.com/jgm/citeproc/issues/71
+    --ghc-option='-pie' -fexecutable -ficu
 
   runhaskell Setup build $MAKEFLAGS
   runhaskell Setup register --gen-script




More information about the arch-commits mailing list