summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorValdemar Erk2018-01-16 10:09:01 +0100
committerValdemar Erk2018-01-16 10:09:01 +0100
commit1c5f8b6bb0d226d5317a2bbd2dd4c3607cf163ad (patch)
tree176a9f7af133d8379d20b2116aac38710639e024
downloadaur-1c5f8b6bb0d226d5317a2bbd2dd4c3607cf163ad.tar.gz
Initial commit.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD30
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..633f125d11e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = vnote-git
+ pkgdesc = A Vim-inspired note-taking application, especially for Markdown.
+ pkgver = v1.11.1.16.g4202b99
+ pkgrel = 1
+ url = https://tamlok.github.io/vnote/
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = qt5-base
+ depends = qt5-webengine
+ source = git://github.com/tamlok/vnote.git
+ sha256sums = SKIP
+
+pkgname = vnote-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d88a644d566
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: erk <v at erk dot io>
+pkgname=vnote-git
+pkgver=v1.11.1.16.g4202b99
+pkgrel=1
+pkgdesc="A Vim-inspired note-taking application, especially for Markdown."
+arch=('any')
+url='https://tamlok.github.io/vnote/'
+license=('MIT')
+depends=('qt5-base' 'qt5-webengine')
+makedepends=('git')
+
+source=("git://github.com/tamlok/vnote.git")
+sha256sums=(SKIP)
+
+gitname="vnote"
+
+pkgver() {
+ cd "$srcdir/$gitname"
+ git describe --tags | sed 's|-|.|g'
+}
+
+package() {
+ cd "$srcdir/$gitname"
+ git submodule update --init
+ mkdir build
+ cd build
+ qmake-qt5 ../VNote.pro
+ make
+ make INSTALL_ROOT="$pkgdir" install
+}