blob: cbe77fa5ac60740b719c85ce2b52336802f30bd0 (
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
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Maintainer: Maxim Mikityanskiy <maxtram95@gmail.com>
pkgname=mindforger
pkgver=2.0.0
pkgrel=1
pkgdesc="Thinking notebook and Markdown IDE. Search, browse, view and edit your Markdown files. Get as much as possible from knowledge in your remarks"
arch=(x86_64 i686 arm armv6h armv7h aarch64)
url="https://www.mindforger.com/"
license=(GPL2)
depends=(qt5-base qt5-webkit zlib hunspell)
makedepends=(git cmake)
source=("git+https://github.com/dvorka/mindforger.git#tag=${pkgver}"
"git+https://github.com/dvorka/mindforger-repository.git"
"mindforger-cmark::git+https://github.com/dvorka/cmark.git")
sha256sums=('SKIP'
'SKIP'
'SKIP')
prepare() {
cd "$pkgname"
git submodule init
git config 'submodule.doc.url' "${srcdir}/mindforger-repository"
git config 'submodule.deps/cmark-gfm.url' "${srcdir}/mindforger-cmark"
git -c protocol.file.allow=always submodule update
}
build() {
mkdir -p "$srcdir/$pkgname"/deps/cmark-gfm/build
cd "$srcdir/$pkgname"/deps/cmark-gfm/build
cmake -DCMARK_TESTS=OFF -DCMARK_SHARED=OFF -Wno-dev ..
cmake --build .
cd "$srcdir/$pkgname"
qmake -r CONFIG+=mfnoccache mindforger.pro
make
}
package() {
cd "$srcdir/$pkgname"
make INSTALL_ROOT="$pkgdir/usr" install
}
|