Package Details: pandoc-bin 2.13-1

Git Clone URL: https://aur.archlinux.org/pandoc-bin.git (read-only, click to copy)
Package Base: pandoc-bin
Description: Pandoc - executable only, without 750MB Haskell depends/makedepends
Upstream URL: http://pandoc.org
Licenses: GPL
Conflicts: pandoc
Provides: pandoc
Replaces: pandoc-lite, pandoc-static
Submitter: cdkitching
Maintainer: gustawho
Last Packager: gustawho
Votes: 174
Popularity: 12.33
First Submitted: 2017-10-03 08:45
Last Updated: 2021-04-02 04:06

Dependencies (1)

Required by (194)

Sources (2)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

eNV25 commented on 2021-03-30 06:13

You could add aarch64 like this.

diff --git a/PKGBUILD b/PKGBUILD
index 8de122d..70899e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgrel=1
 pkgdesc="Pandoc - executable only, without 750MB Haskell depends/makedepends"
 url="http://pandoc.org"
 license=("GPL")
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 conflicts=("pandoc")
 provides=("pandoc")
 replaces=('pandoc-static' 'pandoc-lite')
@@ -12,15 +12,18 @@ depends=()
 optdepends=(
     'texlive-core: for pdf output'
 )
-
 source=(
-    "$pkgname-bin-$pkgver.tar.gz::https://github.com/jgm/pandoc/releases/download/${pkgver}/pandoc-${pkgver}-linux-amd64.tar.gz"
-
-    # The binary release doesn't have the datafiles, so we need to yoink those out of the source tarball, too.
     "$pkgname-source-$pkgver.tar.gz::https://github.com/jgm/pandoc/archive/${pkgver}.tar.gz"
 )
-sha256sums=('fdcd77381cd3c41aaf626f0ced64f979062e2e6080f84797278f4c143571ae3f'
-            '7ee473f2a13f914353d17877ed5a400aa1ea463bbeb66e175e771f50d0319a51')
+source_x86_64=(
+    "$pkgname-bin-$pkgver.tar.gz::https://github.com/jgm/pandoc/releases/download/${pkgver}/pandoc-${pkgver}-linux-amd64.tar.gz"
+)
+source_aarch64=(
+    "$pkgname-bin-$pkgver.tar.gz::https://github.com/jgm/pandoc/releases/download/${pkgver}/pandoc-${pkgver}-linux-arm64.tar.gz"
+)
+sha256sums=('7ee473f2a13f914353d17877ed5a400aa1ea463bbeb66e175e771f50d0319a51')
+sha256sums_x86_64=('fdcd77381cd3c41aaf626f0ced64f979062e2e6080f84797278f4c143571ae3f')
+sha256sums_aarch64=('fdcd77381cd3c41aaf626f0ced64f979062e2e6080f84797278f4c143571ae3f')

 package() {
     cd "${srcdir}/pandoc-${pkgver}"

HeinrichAD commented on 2021-03-28 14:28

Manual update to 2.13:

diff --git a/PKGBUILD b/PKGBUILD
index 8de122d..113f4dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
 pkgname=pandoc-bin
-pkgver=2.11.3
+pkgver=2.13
 pkgrel=1
 pkgdesc="Pandoc - executable only, without 750MB Haskell depends/makedepends"
 url="http://pandoc.org"
@@ -19,8 +19,8 @@ source=(
     # The binary release doesn't have the datafiles, so we need to yoink those out of the source tarball, too.
     "$pkgname-source-$pkgver.tar.gz::https://github.com/jgm/pandoc/archive/${pkgver}.tar.gz"
 )
-sha256sums=('fdcd77381cd3c41aaf626f0ced64f979062e2e6080f84797278f4c143571ae3f'
-            '7ee473f2a13f914353d17877ed5a400aa1ea463bbeb66e175e771f50d0319a51')
+sha256sums=('7404aa88a6eb9fbb99d9803b80170a3a546f51959230cc529c66a2ce6b950d4c'
+            '16ef030d25006192f77ab1bd1fa403d464fe7cfabc34e7659c1827b69437eac2')

 package() {
     cd "${srcdir}/pandoc-${pkgver}"
@@ -34,8 +34,4 @@ package() {
     # We're still missing all the datafiles and so on. We get those from the source tarball...
     cp -R data "${pkgdir}/usr/share/pandoc/"
     cp COPYRIGHT MANUAL.txt "${pkgdir}/usr/share/pandoc/"
-
-    # When pandoc stopped having templates as a submodule, they copied various github turds into their source
-    # tree, so let's tidy that up...
-    rm -R ${pkgdir}/usr/share/pandoc/data/templates/{.github,README.markdown}
 }
(END)

mmberlin commented on 2021-03-16 17:03

Manually updated pkgbuild to 2.12. Failed to complete final rm line as described by gesh. Installed successfully when commented out.

dagdrommer commented on 2021-03-01 16:17

I would appreciate an update of this package. Pandoc-crossref (https://aur.archlinux.org/packages/haskell-pandoc-crossref-bin/) is up-to-date and gives a warning, that it has been build for a higher pandoc version.

gesh commented on 2021-01-16 18:34

Note for when updating this package: since 2020-12-18 (f4839cc and 29c6089), the final rm in package() is unnecessary

gesh commented on 2020-11-17 17:54

Note https://github.com/jgm/pandoc/issues/6850 -- this isn't a perfect replacement for pandoc, as it doesn't support dynamic loading of external lua modules written in C. In particular, it doesn't support using mobdebug to debug lua filters.

alium commented on 2020-10-16 13:23

it should be not added pandoc-citeproc and haskell-pandoc-citeproc-bin in confict and replace too?

conflicts=('pandoc' 'pandoc-citeproc' 'haskell-pandoc-citeproc-bin')

provides=('pandoc' 'pandoc-citeproc')

replaces=('pandoc-static' 'pandoc-lite' 'pandoc-citeproc')

xanc commented on 2020-10-11 18:20

In pandoc 2.11 there is no need of pandoc-citeproc. It is part of pandoc. So if you update this package, there is no tricky comment the lines (https://aur.archlinux.org/packages/pandoc-bin/#comment-727882).

defty commented on 2020-08-28 00:09

You should add bash completions to the package like so many other packages do (virt-manager, bspwm)

Here is a patch:

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: defty <defty@defty.defty>
Date: Tue, 7 Apr 2020 18:43:19 -0400
Subject: [PATCH] Add generated bash completions.

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

diff --git a/PKGBUILD b/PKGBUILD
index ba6cc89..55692ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,6 +25,10 @@ sha256sums=('a3ab481ad53f5568d7ec5263fbdd3478fb320d13b5d61a92fb5cee410186bd86'
 package() {
     cd "${srcdir}/pandoc-${pkgver}"

+    # First install completions
+    install -dm 755 "${pkgdir}/usr/share/bash-completion/completions"
+    ./bin/pandoc --bash-completion >"${pkgdir}/usr/share/bash-completion/completions/pandoc"
+
     # 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:
     mkdir -p "${pkgdir}/usr/share/pandoc"
-- 
2.28.0

cdkitching commented on 2020-08-26 05:48

Done