[arch-commits] Commit in pandoc-crossref/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Oct 27 05:18:52 UTC 2016


    Date: Thursday, October 27, 2016 @ 05:18:51
  Author: felixonmars
Revision: 193761

upgpkg: pandoc-crossref 0.2.3.0-10

rebuild with pandoc-types-1.17.0.4, pandoc-1.18, pandoc-citeproc-0.10.2.1

Modified:
  pandoc-crossref/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-27 05:10:07 UTC (rev 193760)
+++ PKGBUILD	2016-10-27 05:18:51 UTC (rev 193761)
@@ -5,7 +5,7 @@
 pkgbase=pandoc-crossref
 pkgname=(pandoc-crossref haskell-pandoc-crossref)
 pkgver=0.2.3.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Pandoc filter for cross-references"
 url="http://hackage.haskell.org/package/${pkgbase}"
 license=("GPL2")
@@ -16,6 +16,12 @@
 source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz")
 sha256sums=('b6b4200023da4835cf50a2c9a247a837282ccf16e1684336b5a15d17b9ad085e')
 
+prepare() {
+    sed -e 's/pandoc >= 1.17.1 && <1.18/pandoc >= 1.17.1 \&\& <1.19/' \
+        -e 's/pandoc-types >= 1.16 && < 1.17/pandoc-types >= 1.16 \&\& < 1.18/' \
+        -i ${pkgbase}-${pkgver}/${pkgbase}.cabal
+}
+
 build() {
     cd "${srcdir}/${pkgbase}-${pkgver}"
     



More information about the arch-commits mailing list