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}"
Pinned Comments
cdkitching commented on 2023-09-22 09:07 (UTC)
Using this package will waste instead of save disk space if:
Neither of these scenarios is particularly likely.