Date: Friday, August 11, 2017 @ 02:48:09
  Author: felixonmars
Revision: 249813

upgpkg: pandoc-crossref 0.2.6.0-1

Modified:
  pandoc-crossref/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-11 02:37:39 UTC (rev 249812)
+++ PKGBUILD    2017-08-11 02:48:09 UTC (rev 249813)
@@ -3,8 +3,8 @@
 # Contributor: Arch Haskell Team <arch-hask...@haskell.org>
 
 pkgname=pandoc-crossref
-pkgver=0.2.5.0
-pkgrel=91
+pkgver=0.2.6.0
+pkgrel=1
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname}";
 license=("GPL2")
@@ -15,17 +15,11 @@
 conflicts=('haskell-pandoc-crossref')
 replaces=('haskell-pandoc-crossref')
 
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
-sha256sums=('d4d93bbe448e2cf187a0b7bcc605d0445e28021e4e31bfef890b93bee2b28491')
+sha512sums=('2af52b5f347b039148d5285b1277a1c3e382bf0f666d353ac593635f1bae3ef692fac7319ed0ca8c9ab33475a2bb28ae5b540d80c637eb39f8f5a22830258fc1')
 
-prepare() {
-    sed -e 's/pandoc >= 1.17.1 && <1.19/pandoc >= 1.17.1 \&\& <1.20/' \
-        -e 's/, syb >= 0.4 && < 0.7/, syb >= 0.4 \&\& < 0.8/' \
-        -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/${pkgname}" 
--datasubdir="$pkgname" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
@@ -39,7 +33,7 @@
 
 package() {
     cd "${srcdir}/${pkgname}-${pkgver}"
-    
+
     install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"

Reply via email to