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

Felix Yan felixonmars at archlinux.org
Tue Mar 20 03:19:46 UTC 2018


    Date: Tuesday, March 20, 2018 @ 03:19:45
  Author: felixonmars
Revision: 309191

upgpkg: pandoc-crossref 0.3.0.3-1

rebuild with pandoc,2.1.3 pandoc-types,1.17.4.2 pandoc-crossref,0.3.0.3

Modified:
  pandoc-crossref/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-20 03:19:37 UTC (rev 309190)
+++ PKGBUILD	2018-03-20 03:19:45 UTC (rev 309191)
@@ -3,8 +3,8 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 
 pkgname=pandoc-crossref
-pkgver=0.3.0.1
-pkgrel=76
+pkgver=0.3.0.3
+pkgrel=1
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname}"
 license=("GPL2")
@@ -17,15 +17,10 @@
 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=('9484b50cb01bad33687d4787f48878899d59eeaddd6714ac324e37be5bd20a313f246cafce1d7fba36432fd99cb75f10d4efba5ebd9b0def87dc77410c912b13')
+sha512sums=('98eb97fd3501c1259afc6e9ee27c6b8ef72e9f9dc957e8c94505f8e0602017d2697d640ad16e5eb266b7559040bbf0ef10c7de862c538ba33c0a980c58354547')
 
-prepare() {
-    sed -i 's/pandoc ==2.0.*/pandoc/' $pkgname-$pkgver/$pkgname.cabal
-}
-
 build() {
     cd $pkgname-$pkgver
-
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests --datasubdir="$pkgname" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
@@ -38,8 +33,7 @@
 
 check() {
     cd $pkgname-$pkgver
-    # https://github.com/lierdakil/pandoc-crossref/issues/167
-    runhaskell Setup test || warning "Tests failed"
+    runhaskell Setup test
 }
 
 package() {



More information about the arch-commits mailing list