[arch-commits] Commit in pandoc-crossref/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 11 09:35:49 UTC 2018
Date: Friday, May 11, 2018 @ 09:35:48
Author: felixonmars
Revision: 320655
upgpkg: pandoc-crossref 0.3.2.0-1
rebuild with pandoc,2.2 pandoc-citeproc,0.14.3.1 pandoc-crossref,0.3.2.0 hakyll,4.12.2.0
Modified:
pandoc-crossref/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-11 09:34:23 UTC (rev 320654)
+++ PKGBUILD 2018-05-11 09:35:48 UTC (rev 320655)
@@ -3,8 +3,8 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
pkgname=pandoc-crossref
-pkgver=0.3.1.0
-pkgrel=6
+pkgver=0.3.2.0
+pkgrel=1
pkgdesc="Pandoc filter for cross-references"
url="https://hackage.haskell.org/package/${pkgname}"
license=("GPL2")
@@ -17,8 +17,14 @@
conflicts=('haskell-pandoc-crossref')
replaces=('haskell-pandoc-crossref')
source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz")
-sha512sums=('f4523fc785cabeeaf91010a3f8c8f6b9617312d8cd32c5ca43da6d3781ac882e92d26f6ceb6fe1e22d5fd286ba13e7043572ead73d84e81eb960e601935e9911')
+sha512sums=('945a9eb97f65c17b4303afba5fe3af4c0bee4934d41feaef5252134af20ae576aeef4bd406a707c3559a54f8a5ecec0aa8ec0d347fffe9895ed80f5077bf3043')
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/base >=4.11/base >=4/' $pkgname.cabal
+ sed -i '/import Text.Pandoc$/a import Text.Pandoc.Builder' src/pandoc-crossref.hs
+}
+
build() {
cd $pkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
More information about the arch-commits
mailing list