summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkyope2022-03-31 13:22:23 +0800
committerkyope2022-03-31 13:22:23 +0800
commit11d7d6dbea77cd3e1ac74cc1553c33f3e7413453 (patch)
treeba04a2118f57ccad6f8e9c9ed75939d1cb880d4b
parent1b14852fc9f312b5a70f41d735cef85518f3ebbb (diff)
downloadaur-11d7d6dbea77cd3e1ac74cc1553c33f3e7413453.tar.gz
add optional dependencies pandoc
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
2 files changed, 2 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4a1e102aa5b0..37696951aae7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,7 @@ pkgbase = siyuan-appimage
url = https://b3log.org/siyuan
arch = x86_64
license = unknown
+ optdepends = pandoc: docx export
provides = siyuan
noextract = siyuan-1.9.6-linux.AppImage
options = !strip
diff --git a/PKGBUILD b/PKGBUILD
index b94e58d2d1c9..0541dcb6f150 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,7 @@ _pkgname="siyuan-${pkgver}-linux.AppImage"
noextract=(${_pkgname})
options=("!strip")
provides=("siyuan")
+optdepends=('pandoc: docx export')
source=("https://download.fastgit.org/siyuan-note/siyuan/releases/download/v${pkgver}/${_pkgname}")
sha512sums=("7cf5cc8d10208fb396d9fe359900e63c79c814c95df6d1fd30ad404ea05af4b7bfcddd1454f37b7fac308fd0e9080aa5088386aab37846d88a7b25b796933de1")