blob: a645857f289f9a2f96587b591a42a5c2987c00b5 (
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
53
54
55
56
57
58
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: erk <v at erk dot io>
pkgname=vnote-git
pkgver=3.15.1.r20.ge47b813b
pkgrel=1
pkgdesc="A Vim-inspired note-taking application, especially for Markdown."
arch=(x86_64 i686 arm armv6h armv7h aarch64)
url='https://vnotex.github.io/vnote/en_us/'
license=(LGPL3)
depends=(qt5-base qt5-webengine qt5-svg qt5-x11extras)
makedepends=(git)
source=("git+https://github.com/vnotex/vnote.git"
"vnotex-vtextedit::git+https://github.com/vnotex/vtextedit"
"vnotex-QHotkey::git+https://github.com/vnotex/QHotkey.git"
"vnotex-syntax-highlighting::git+https://github.com/vnotex/syntax-highlighting"
"vnotex-hunspell::git+https://github.com/vnotex/hunspell"
"vnotex-sonnet::git+https://github.com/vnotex/sonnet")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
git describe --long --tags --exclude continuous-build | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/${pkgname%-git}"
install -d build
git submodule init
git config 'submodule.libs/vtextedit.url' "${srcdir}/vnotex-vtextedit"
git config 'submodule.libs/QHotkey.url' "${srcdir}/vnotex-QHotkey"
git -c protocol.file.allow=always submodule update
cd "libs/vtextedit"
git submodule init
git config 'submodule.src/libs/syntax-highlighting.url' "${srcdir}/vnotex-syntax-highlighting"
git config 'submodule.src/libs/hunspell.url' "${srcdir}/vnotex-hunspell"
git config 'submodule.src/libs/sonnet.url' "${srcdir}/vnotex-sonnet"
git -c protocol.file.allow=always submodule update
}
build() {
cd "${srcdir}/${pkgname%-git}/build"
qmake-qt5 ../vnote.pro
make
}
package() {
cd "${srcdir}/${pkgname%-git}/build"
make INSTALL_ROOT="$pkgdir" install
}
|