blob: 1af20a847a432bcaff2f8926ce2b802bf3187a1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Ryan Greenup <ryan.greenup @ protonmail dot com>
pkgname=cadmus-notes
pkgver=1.0
pkgrel=1
pkgdesc="Modular Shell Scripts for an MD Notebook"
arch=('x86_64')
url="https://ryangreenup.github.io/cadmus"
license=('GPL3')
provides=('cadmus')
makedepends=(git)
depends=(
recoll
tmsu
ripgrep
fd
nodejs
bat
coreutils
sed
grep
jq
wmctrl
pandoc
ranger
recode
sd
skim
xclip
)
optdepends=('nodejs-markserv: Preview Support'
'tectonic: Additional option for PDF Export'
'mdcat: Pretty Print'
'texlive-core: PDF Export'
'wmctrl: Move Windows'
'wl-clipboard: Clipboard for Wayland')
source=("https://github.com/RyanGreenup/cadmus/releases/download/${pkgver}/cadmus.tar.xz")
sha256sums=('370d6ef60507aeaa8dfbc53e704bafa068df14cc891d5d700750be3e072b1d4d')
package() {
mkdir -p "${pkgdir}/opt/cadmus";
mkdir -p "${pkgdir}/usr/bin";
rsync -av ${srcdir}/cadmus/* "${pkgdir}/opt/cadmus/"
ln -rsf "${pkgdir}/opt/cadmus/bin/cadmus" "${pkgdir}/usr/bin/cadmus"
}
|