[arch-commits] Commit in pandoc-crossref/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jun 19 14:59:18 UTC 2018
Date: Tuesday, June 19, 2018 @ 14:59:18
Author: felixonmars
Revision: 344058
upgpkg: pandoc-crossref 0.3.2.1-1
Modified:
pandoc-crossref/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-19 13:21:22 UTC (rev 344057)
+++ PKGBUILD 2018-06-19 14:59:18 UTC (rev 344058)
@@ -3,31 +3,22 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
pkgname=pandoc-crossref
-pkgver=0.3.2.0
-pkgrel=43
+pkgver=0.3.2.1
+pkgrel=1
pkgdesc="Pandoc filter for cross-references"
url="https://hackage.haskell.org/package/${pkgname}"
license=("GPL2")
arch=('x86_64')
depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 'haskell-data-accessor-template'
- 'haskell-data-accessor-transformers' 'haskell-file-embed'
- 'haskell-open-browser' 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types'
- 'haskell-roman-numerals' 'haskell-syb' 'haskell-utility-ht')
+ 'haskell-data-accessor-transformers' 'haskell-file-embed' 'haskell-open-browser'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 'haskell-roman-numerals'
+ 'haskell-syb' 'haskell-utility-ht')
makedepends=('ghc' 'haskell-hspec')
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=('945a9eb97f65c17b4303afba5fe3af4c0bee4934d41feaef5252134af20ae576aeef4bd406a707c3559a54f8a5ecec0aa8ec0d347fffe9895ed80f5077bf3043')
+sha512sums=('224218d3a559fc6a2b574c4f62a7e99f28c25abb20f7fc2eb6b318f388d0c3e65f690c03b687964d50bb4fc87a77d79a6bebb20c196cd93f884f12c43ce1c68e')
-prepare() {
- cd $pkgname-$pkgver
- sed -i -e 's/<.*1.3/<2/' $pkgname.cabal
-
- # https://github.com/lierdakil/pandoc-crossref/issues/181
- sed -i -e '27,28d' \
- lib/Text/Pandoc/CrossRef/Util/PandocOrphans.hs
-}
-
build() {
cd $pkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
@@ -41,6 +32,7 @@
}
check() {
+ # https://github.com/lierdakil/pandoc-crossref/issues/181#issuecomment-398269601
cd $pkgname-$pkgver
runhaskell Setup test || warning "Tests failed"
}
More information about the arch-commits
mailing list