diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,7 +1,6 @@ pkgname=pandoc-crossref-bin -pkgver=0.3.4.0c -_pandoc_pkgver=2_6 -_ghc_pkgver=86 +pkgver=0.3.4.1 +_pandoc_pkgver=2_7_2 pkgrel=1 pkgdesc="Pandoc Cross References - executable only, without 750MB Haskell depends/makedepends" url="https://hackage.haskell.org/package/pandoc-crossref" @@ -13,16 +12,18 @@ replaces=('pandoc-crossref-static' 'pandoc-crossref-lite') depends=('pandoc') source=( - "pandoc-crossref-${pkgver}-ghc${_ghc_pkgver}.tar.gz::https://github.com/lierdakil/pandoc-crossref/releases/download/v${pkgver}/linux-pandoc_${_pandoc_pkgver}.tar.gz" + "pandoc-crossref-${pkgver}.tar.gz::https://github.com/lierdakil/pandoc-crossref/releases/download/v${pkgver}/linux-pandoc_${_pandoc_pkgver}.tar.gz" ) -sha256sums=('fb7fb47f6892b02150f3e4bf1610d3ea1e02ce23562b374e3617139ce5758ace') +sha256sums=('6424c97656b4f9bd888cc8778fd64731f254a570632e2609a157ef21d212d4fe') package() { cd "${srcdir}" # To avoid having to download over a gigabyte of haskell makedepends (400-ish for ghc, plus 750 in libs), we # just yoink the binary from static compiled binary distributed by pandoc: - tar -zxf "pandoc-crossref-${pkgver}-ghc${_ghc_pkgver}.tar.gz" + tar -zxf "pandoc-crossref-${pkgver}.tar.gz" mkdir -p "${pkgdir}/usr/bin" cp pandoc-crossref "${pkgdir}/usr/bin/" + mkdir -p "${pkgdir}/usr/share/man/man1/" + cp pandoc-crossref.1 "${pkgdir}/usr/share/man/man1/" } |