diff options
author | FabioLolix | 2019-07-15 23:57:36 +0200 |
---|---|---|
committer | FabioLolix | 2019-07-15 23:57:36 +0200 |
commit | c92bbcac43eccc45d9260fe312aaadebe089ea91 (patch) | |
tree | 591df05080009f54ac9d24bd93a0b63db64a498f | |
parent | 3b27d17293fa31c8bf602daadbf7a7c2bcb7f1f8 (diff) | |
download | aur-c92bbcac43eccc45d9260fe312aaadebe089ea91.tar.gz |
v1.49.2, from source
-rw-r--r-- | .SRCINFO | 36 | ||||
-rw-r--r-- | PKGBUILD | 66 |
2 files changed, 71 insertions, 31 deletions
@@ -1,20 +1,28 @@ pkgbase = mindforger - pkgdesc = Thinking notebook and Markdown IDE. Search, browse, view and edit your Markdown files. Get as much as possible from knowledge in your remarks. - pkgver = 1.48.0 + pkgdesc = Thinking notebook and Markdown IDE. Search, browse, view and edit your Markdown files. Get as much as possible from knowledge in your remarks + pkgver = 1.49.2 pkgrel = 1 - url = https://github.com/dvorka/mindforger + url = https://www.mindforger.com/ arch = x86_64 - license = GPL-2.0 - depends = gcc>=5.2 - depends = hicolor-icon-theme - depends = qt5-base>=5.2.0 - depends = qt5-webkit>=5.0.2 - depends = zlib>=1.1.4 - optdepends = dropbox: dropbox syncing - options = !strip - options = !emptydirs - source_x86_64 = https://github.com/dvorka/mindforger/releases/download/1.48.0/mindforger_1.48.2-1_amd64.deb - sha512sums_x86_64 = 207f5e37b269bb83dbc9b25b17eed146c99949681bc8b0c29afcabb1634719733d2f3fb2887a5e22c8dc68da00868152603b3fd856a9ee310a912b05b8a685c2 + arch = i686 + arch = arm + arch = armv6h + arch = armv7h + arch = aarch64 + license = GPL2 + makedepends = git + makedepends = cmake + depends = qt5-webkit + source = git+https://github.com/dvorka/mindforger.git#tag=1.49.2 + source = git+https://github.com/dvorka/mindforger-repository.git + source = mindforger-discount::git+https://github.com/dvorka/discount.git + source = mindforger-MITIE::git+https://github.com/dvorka/MITIE.git + source = mindforger-cmark::git+https://github.com/dvorka/cmark.git + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP pkgname = mindforger @@ -1,22 +1,54 @@ -# Generated by debtap -# Maintainer: wutang4ever <blueprint3 at protonmail dot com> -# Coder: dvorka on github +# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix +# Maintainer: Maxim Mikityanskiy <maxtram95@gmail.com> + pkgname=mindforger -pkgver=1.48.0 +pkgver=1.49.2 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') -url="https://github.com/dvorka/mindforger" -license=('GPL-2.0') -groups=('') -depends=('gcc>=5.2' 'hicolor-icon-theme' 'qt5-base>=5.2.0' 'qt5-webkit>=5.0.2' 'zlib>=1.1.4') -optdepends=('dropbox: dropbox syncing') -options=('!strip' '!emptydirs') -source_x86_64=("https://github.com/dvorka/mindforger/releases/download/1.48.0/mindforger_1.48.2-1_amd64.deb") -sha512sums_x86_64=('207f5e37b269bb83dbc9b25b17eed146c99949681bc8b0c29afcabb1634719733d2f3fb2887a5e22c8dc68da00868152603b3fd856a9ee310a912b05b8a685c2') +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-webkit) +makedepends=(git cmake) +source=("git+https://github.com/dvorka/mindforger.git#tag=$pkgver" + "git+https://github.com/dvorka/mindforger-repository.git" + "mindforger-discount::git+https://github.com/dvorka/discount.git" + "mindforger-MITIE::git+https://github.com/dvorka/MITIE.git" + "mindforger-cmark::git+https://github.com/dvorka/cmark.git") +sha256sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP') + +prepare() { + cd "$pkgname" + git submodule init + git config 'submodule.doc/mindforger-repository.url' "${srcdir}/mindforger-repository" + git config 'submodule.deps/discount.url' "${srcdir}/mindforger-discount" + git config 'submodule.deps/mitie.url' "${srcdir}/mindforger-MITIE" + git config 'submodule.deps/cmark-gfm.url' "${srcdir}/mindforger-cmark" + git submodule update +} -package(){ +build() { + mkdir -p "$srcdir/$pkgname"/deps/cmark-gfm/build + cd "$srcdir/$pkgname"/deps/cmark-gfm/build + cmake -DCMARK_TESTS=OFF -DCMARK_SHARED=OFF .. + cmake --build . + + cd "$srcdir/$pkgname"/deps/discount + ./configure.sh + make + + cd "$srcdir/$pkgname" + qmake -r CONFIG+=mfnoccache mindforger.pro + make +} - # Extract package data - tar xf data.tar.xz -C "${pkgdir}" +package() { + cd "$srcdir/$pkgname" + make INSTALL_ROOT="$pkgdir" install + # Remove package-specific static lib $pkgdir/usr/lib/libdiscount.a + rm -r "$pkgdir/usr/lib" } |