summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorValdemar Erk2018-05-10 08:37:05 +0200
committerValdemar Erk2018-05-10 08:37:05 +0200
commitf3091385ba408803200b8b8b7c37d8a6c7119306 (patch)
tree5c04c4a9d6d92039e077ae5229fb26a6f002613e /PKGBUILD
downloadaur-f3091385ba408803200b8b8b7c37d8a6c7119306.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..28c484dfaaa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: erk <v at erk dot io>
+pkgname=vnote
+pkgver=1.15
+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' 'qt5-svg')
+
+_marked=38f1727ffee0820975677027b8968bc1954e6637
+_hoedown=e63d2160a7d9895defc253d933b58a83ac54f81a
+
+source=("https://github.com/tamlok/vnote/archive/v1.15.tar.gz" hoedown.zip::"https://github.com/tamlok/hoedown/archive/$_hoedown.zip" marked.zip::"https://github.com/markedjs/marked/archive/$_marked.zip")
+sha256sums=(42c355ae7a41eae61a5bac6037e4a5e8c866ad3224690f79b749a5674a6ddc83 85d8c673ee4a3e8f595db3021b238642aede1727965afa13666a29a43a0eb846 602c2e7fa2ab48d3aefe33cafa08bfdebbc619f4a652fde1ebad40f19c34a886)
+
+package() {
+ mv $srcdir/hoedown-$_hoedown/* "$srcdir/$pkgname-$pkgver/hoedown/"
+ mv $srcdir/marked-$_marked/* "$srcdir/$pkgname-$pkgver/src/utils/marked/"
+ cd "$srcdir/$pkgname-$pkgver"
+ mkdir build
+ cd build
+ qmake-qt5 ../VNote.pro
+ make
+ make INSTALL_ROOT="$pkgdir" install
+}