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

Felix Yan felixonmars at archlinux.org
Mon Aug 14 10:49:56 UTC 2017


    Date: Monday, August 14, 2017 @ 10:49:51
  Author: felixonmars
Revision: 250289

upgpkg: pandoc 1.19.2.1-104

rebuild with aeson,1.2.1.0

Modified:
  pandoc/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-14 10:34:38 UTC (rev 250288)
+++ PKGBUILD	2017-08-14 10:49:51 UTC (rev 250289)
@@ -4,7 +4,7 @@
 
 pkgname=pandoc
 pkgver=1.19.2.1
-pkgrel=103
+pkgrel=104
 pkgdesc="Conversion between markup formats"
 url="http://pandoc.org"
 license=("GPL")
@@ -26,12 +26,14 @@
 sha256sums=('08692f3d77bf95bb9ba3407f7af26de7c23134e7efcdafad0bdaf9050e2c7801')
 
 prepare() {
-    sed -i 's/syb >= 0.1 && < 0.7,/syb >= 0.1 \&\& < 0.8,/' $pkgname-$pkgver/$pkgname.cabal
+    sed -e 's/syb >= 0.1 && < 0.7,/syb >= 0.1 \&\& < 0.8,/' \
+        -e 's/aeson >= 0.7.* && < 1.2,/aeson >= 0.7 \&\& < 1.3,/' \
+        -i $pkgname-$pkgver/$pkgname.cabal
 }
 
 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
-    
+
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" --datasubdir="$pkgname" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \



More information about the arch-commits mailing list