mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-08-17 11:31:02 +02:00
Added optional Dependencies #2
This commit is contained in:
54
PKGBUILD
54
PKGBUILD
@@ -1,37 +1,41 @@
|
|||||||
# Maintainer: Ryan Greenup <ryan.greenup@protonmail.com>
|
# Maintainer: Ryan Greenup <ryan.greenup@protonmail.com>
|
||||||
|
|
||||||
pkgname=cadmus
|
pkgname=cadmus-notes
|
||||||
pkgver=0.2
|
pkgver=0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A simple command line notebook for everybody"
|
pkgdesc="Modular Shell Scripts for an MD Notebook"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="ryangreenup.github.io/cadmus"
|
url="ryangreenup.github.io/cadmus"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
provides=('cadmus')
|
provides=('cadmus')
|
||||||
depends=(
|
depends=(
|
||||||
'recoll'
|
recoll
|
||||||
'tmsu'
|
tmsu
|
||||||
'ripgrep'
|
ripgrep
|
||||||
'fd'
|
fd
|
||||||
'nodejs'
|
nodejs
|
||||||
'bat'
|
bat
|
||||||
'coreutils'
|
coreutils
|
||||||
'sed'
|
sed
|
||||||
'grep'
|
grep
|
||||||
'jq'
|
jq
|
||||||
# 'mdcat' ## Users may install with cargo
|
pandoc
|
||||||
'pandoc'
|
ranger
|
||||||
'ranger'
|
recode
|
||||||
'recode'
|
sd
|
||||||
'texlive-core'
|
skim
|
||||||
#'tectonic' # Users may install with cargo or pip
|
xclip
|
||||||
'sd'
|
iproute2
|
||||||
'skim'
|
|
||||||
'xclip'
|
|
||||||
# Unimportant
|
|
||||||
## 'nodejs-markserv' # User may install with npm
|
|
||||||
'iproute2'
|
|
||||||
)
|
)
|
||||||
|
## These aren't in the official repos and could have
|
||||||
|
## been installed with cargo
|
||||||
|
optdepends=('nodejs-markserv: Preview Support'
|
||||||
|
'tectonic: Additional option for PDF Export'
|
||||||
|
'mdcat: Pretty Print'
|
||||||
|
## These are just optional
|
||||||
|
'texlive-core: PDF Export'
|
||||||
|
'wl-clipboard: Clipboard for Wayland')
|
||||||
|
|
||||||
source=("git+https://github.com/RyanGreenup/cadmus.git")
|
source=("git+https://github.com/RyanGreenup/cadmus.git")
|
||||||
# source=("git+https://github.com/RyanGreenup/cadmus.git#branch=makepkg")
|
# source=("git+https://github.com/RyanGreenup/cadmus.git#branch=makepkg")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
@@ -126,7 +130,7 @@ addBullets() {
|
|||||||
echo "$1" | sed 's/^/\t‣\ /g'
|
echo "$1" | sed 's/^/\t‣\ /g'
|
||||||
}
|
}
|
||||||
|
|
||||||
check_for_dependencies
|
# check_for_dependencies
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user