diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 32 insertions, 18 deletions
@@ -1,7 +1,7 @@ pkgbase = vnote pkgdesc = A Vim-inspired note-taking application, especially for Markdown. - pkgver = 2.10 - pkgrel = 2 + pkgver = 3.4.0 + pkgrel = 1 url = https://vnotex.github.io/vnote/en_us/ arch = x86_64 arch = i686 @@ -13,9 +13,13 @@ pkgbase = vnote makedepends = git depends = qt5-webengine depends = qt5-svg - source = git+https://github.com/tamlok/vnote.git#tag=v2.10 - source = git+https://github.com/chjj/marked.git - source = git+https://github.com/tamlok/hoedown.git + source = git+https://github.com/vnotex/vnote.git#tag=v3.4.0 + source = vnotex-vtextedit::git+https://github.com/vnotex/vtextedit + source = vnotex-syntax-highlighting::git+https://github.com/vnotex/syntax-highlighting + source = vnotex-hunspell::git+https://github.com/vnotex/hunspell + source = vnotex-sonnet::git+https://github.com/vnotex/sonnet + sha256sums = SKIP + sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP @@ -2,39 +2,49 @@ # Contributor: erk <v at erk dot io> pkgname=vnote -pkgver=2.10 -pkgrel=2 +pkgver=3.4.0 +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=(MIT) depends=(qt5-webengine qt5-svg) makedepends=(git) -source=("git+https://github.com/tamlok/vnote.git#tag=v${pkgver}" - "git+https://github.com/chjj/marked.git" - "git+https://github.com/tamlok/hoedown.git") +source=("git+https://github.com/vnotex/vnote.git#tag=v${pkgver}" + "vnotex-vtextedit::git+https://github.com/vnotex/vtextedit" + "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') prepare() { - cd "$pkgname" + cd "${pkgname}" + + install -d build + git submodule init - git config 'submodule.src/utils/marked.url' "${srcdir}/marked" - git config 'submodule.hoedown.url' "${srcdir}/hoedown" + git config 'submodule.libs/vtextedit.url' "${srcdir}/vnotex-vtextedit" git submodule update - install -d build + 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 submodule update } build() { - cd "$pkgname/build" - qmake ../VNote.pro + cd "${pkgname}/build" + qmake-qt5 ../vnote.pro make } package() { - cd "$pkgname/build" + cd "${pkgname}/build" make INSTALL_ROOT="$pkgdir" install - install -Dm644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |