summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2021-10-25 23:20:27 +0300
committerCaleb Maclennan2021-10-25 23:22:25 +0300
commitbe3535b27ca24384d6598c98730b6449b428812e (patch)
treeabea685e05da6ab0f7d1b847ca3d960795428d0a /PKGBUILD
parenta8f0d9e9718bacb7e89c19a0f8d9467e6cee67b7 (diff)
downloadaur-be3535b27ca24384d6598c98730b6449b428812e.tar.gz
Depend on Pandoc if using system dependency option
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b4e79d0b21ed..e740ff3613e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _bundle_pandoc=false
pkgname=zettlr
pkgver=2.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="A markdown editor for writing academic texts and taking notes"
arch=('x86_64')
url='https://www.zettlr.com'
@@ -34,6 +34,8 @@ if ${_bundle_pandoc} ; then
# pandoc binary
source+=("https://github.com/jgm/pandoc/releases/download/${_pandoc_binary_ver}/pandoc-${_pandoc_binary_ver}-linux-amd64.tar.gz")
sha256sums+=('1a0548b15255b1c11722f3d4e12fc7a652edf8c9a329a8458f1e765517aec1be')
+else
+ depends+=(pandoc)
fi
prepare() {