diff options
author | Caleb Maclennan | 2021-10-25 23:20:27 +0300 |
---|---|---|
committer | Caleb Maclennan | 2021-10-25 23:22:25 +0300 |
commit | be3535b27ca24384d6598c98730b6449b428812e (patch) | |
tree | abea685e05da6ab0f7d1b847ca3d960795428d0a | |
parent | a8f0d9e9718bacb7e89c19a0f8d9467e6cee67b7 (diff) | |
download | aur-be3535b27ca24384d6598c98730b6449b428812e.tar.gz |
Depend on Pandoc if using system dependency option
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 7 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = zettlr pkgdesc = A markdown editor for writing academic texts and taking notes pkgver = 2.0.1 - pkgrel = 1 + pkgrel = 2 url = https://www.zettlr.com arch = x86_64 license = GPL @@ -9,14 +9,15 @@ pkgbase = zettlr makedepends = git makedepends = yarn depends = electron + depends = pandoc optdepends = pandoc: For exporting to various format optdepends = texlive-bin: For Latex support optdepends = ttf-lato: Display output in a more comfortable way options = !strip source = zettlr-2.0.1.tar.gz::https://github.com/Zettlr/Zettlr/archive/v2.0.1.tar.gz source = 0001-Do-not-download-pandoc.patch - source = locales-2.0.1-1.zip::https://github.com/citation-style-language/locales/archive/0cc3885f6100e26ac6c6d103efa6f3d7195fd21b.zip - source = chicago-author-date-2.0.1-1.csl::https://github.com/citation-style-language/styles/raw/3a6a0a7bc1410075c606e51cab45877cc76f1f69/chicago-author-date.csl + source = locales-2.0.1-2.zip::https://github.com/citation-style-language/locales/archive/0cc3885f6100e26ac6c6d103efa6f3d7195fd21b.zip + source = chicago-author-date-2.0.1-2.csl::https://github.com/citation-style-language/styles/raw/3a6a0a7bc1410075c606e51cab45877cc76f1f69/chicago-author-date.csl sha256sums = 281747d7f123164f94f5878fb98ae48616a902e5be2cfdea2bfe3d859253463d sha256sums = 97d1e620226324a1b7e5571ca800286a62f17e3729b08383918be81b64530287 sha256sums = 9b3e987aefb10da8b2baadd06e751e978ea23dc7b6297802cbda0ec6806744e2 @@ -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() { |