blob: 4113b2117858057a1ae60b10f230df75e669cf40 (
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
48
49
50
51
52
|
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=thiefmd
pkgver=0.2.0
_codename=creators-edition
pkgrel=1
pkgdesc="The markdown editor worth stealing. Inspired by Ulysses, based on code from Quilter"
arch=('x86_64' 'aarch64')
url="https://thiefmd.com"
license=('GPL3')
depends=('gtkspell3' 'webkit2gtk' 'discount' 'gtksourceview4' 'libarchive'
'clutter' 'libgee' 'libhandy')
makedepends=('git' 'meson' 'vala')
_commit=89ff79ef5e151cafa87d17d9b1e43582de746e0a
source=("git+https://github.com/kmwallio/ThiefMD.git#commit=$_commit"
'git+https://github.com/ThiefMD/BiBtex-vala.git'
'git+https://github.com/ThiefMD/ghost-vala.git'
'git+https://github.com/TwiRp/ultheme-vala.git'
'git+https://github.com/ThiefMD/wordpress-vala.git'
'git+https://github.com/ThiefMD/writeas-vala.git'
'git+https://github.com/ThiefMD/libwritegood-vala.git')
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd "$srcdir/ThiefMD"
git describe --tags | sed "s/^v//;s/-$_codename//;s/-/+/g"
}
prepare() {
cd "$srcdir/ThiefMD"
git submodule init
for _submodule in BiBtex-vala ghost-vala ultheme-vala wordpress-vala writeas-vala libwritegood-vala; do
git config submodule.src/${_submodule}.url $srcdir/${_submodule}
done
git submodule update
}
build() {
arch-meson ThiefMD build
meson compile -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
ln -s "/usr/bin/com.github.kmwallio.$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|