summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLolix2019-04-06 12:40:08 +0200
committerLolix2019-04-06 12:40:08 +0200
commit443323cc5b08add1245f0a08b4cff63a546a790d (patch)
treede22894a1e3bd22adca2342a42bbab7a150298e1
parente848602b9c5e97334e16295a3a8d71a2060ca208 (diff)
downloadaur-443323cc5b08add1245f0a08b4cff63a546a790d.tar.gz
v2.4
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD16
2 files changed, 10 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 92e6a46c4ba..d35a7ff1ba5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vnote
pkgdesc = A Vim-inspired note-taking application, especially for Markdown.
- pkgver = 2.2
+ pkgver = 2.4
pkgrel = 1
url = https://tamlok.github.io/vnote/
arch = x86_64
@@ -11,10 +11,9 @@ pkgbase = vnote
arch = aarch64
license = MIT
makedepends = git
- depends = qt5-base
depends = qt5-webengine
depends = qt5-svg
- source = git+https://github.com/tamlok/vnote.git#tag=v2.2
+ source = git+https://github.com/tamlok/vnote.git#tag=2.4
source = git+https://github.com/chjj/marked.git
source = git+https://github.com/tamlok/hoedown.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 59fca4fba26..6519aab5ad0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
# Contributor: erk <v at erk dot io>
pkgname=vnote
-pkgver=2.2
+pkgver=2.4
pkgrel=1
pkgdesc="A Vim-inspired note-taking application, especially for Markdown."
arch=(x86_64 i686 arm armv6h armv7h aarch64)
-url='https://tamlok.github.io/vnote/'
+url="https://tamlok.github.io/vnote/"
license=(MIT)
-depends=(qt5-base qt5-webengine qt5-svg)
+depends=(qt5-webengine qt5-svg)
makedepends=(git)
-source=("git+https://github.com/tamlok/vnote.git#tag=v${pkgver}"
+source=("git+https://github.com/tamlok/vnote.git#tag=${pkgver}"
"git+https://github.com/chjj/marked.git"
"git+https://github.com/tamlok/hoedown.git")
sha256sums=('SKIP'
@@ -18,7 +18,7 @@ sha256sums=('SKIP'
'SKIP')
prepare() {
- cd "$srcdir/$pkgname"
+ cd "$pkgname"
git submodule init
git config 'submodule.src/utils/marked.url' "${srcdir}/marked"
@@ -29,13 +29,13 @@ prepare() {
}
build() {
- cd "$srcdir/$pkgname/build"
- qmake-qt5 ../VNote.pro
+ cd "$pkgname/build"
+ qmake ../VNote.pro
make
}
package() {
- cd "$srcdir/$pkgname/build"
+ cd "$pkgname/build"
make INSTALL_ROOT="$pkgdir" install
install -Dm644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}