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

Felix Yan felixonmars at archlinux.org
Wed Dec 13 14:08:38 UTC 2017


    Date: Wednesday, December 13, 2017 @ 14:08:38
  Author: felixonmars
Revision: 274216

upgpkg: pandoc-crossref 0.3.0.0-1

Modified:
  pandoc-crossref/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-13 14:07:53 UTC (rev 274215)
+++ PKGBUILD	2017-12-13 14:08:38 UTC (rev 274216)
@@ -3,8 +3,8 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 
 pkgname=pandoc-crossref
-pkgver=0.3.0.0beta3a
-pkgrel=24
+pkgver=0.3.0.0
+pkgrel=1
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname}"
 license=("GPL2")
@@ -16,13 +16,9 @@
 makedepends=('ghc')
 conflicts=('haskell-pandoc-crossref')
 replaces=('haskell-pandoc-crossref')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v0.3.0.0-beta3a.tar.gz")
-sha512sums=('02f8762320465bf11dcb10e5182d978f3d5a37527480373c96fb6dc8c4651708d68c92b5ad857271a106c109aeaf87fad87b39125f8c9130e5401e2744e8d95b')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz")
+sha512sums=('1a7e50a16b39a7d348901c58d1da177f9f2f941d4ce52c9f6a45e84c45d3e74a3f5c8dfe98ec7e2b922ffacf5fefc39778d393dc62832e2f81caf7d967e41826')
 
-prepare() {
-    mv $pkgname-{0.3.0.0-beta3a,$pkgver}
-}
-
 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
 
@@ -42,5 +38,5 @@
     install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     runhaskell Setup copy --destdir="${pkgdir}"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list