diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0d0419c80db7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = vnote + pkgdesc = A Vim-inspired note-taking application, especially for Markdown. + pkgver = 1.15 + pkgrel = 1 + url = https://tamlok.github.io/vnote/ + arch = any + license = MIT + depends = qt5-base + depends = qt5-webengine + depends = qt5-svg + source = https://github.com/tamlok/vnote/archive/v1.15.tar.gz + source = hoedown.zip::https://github.com/tamlok/hoedown/archive/e63d2160a7d9895defc253d933b58a83ac54f81a.zip + source = marked.zip::https://github.com/markedjs/marked/archive/38f1727ffee0820975677027b8968bc1954e6637.zip + sha256sums = 42c355ae7a41eae61a5bac6037e4a5e8c866ad3224690f79b749a5674a6ddc83 + sha256sums = 85d8c673ee4a3e8f595db3021b238642aede1727965afa13666a29a43a0eb846 + sha256sums = 602c2e7fa2ab48d3aefe33cafa08bfdebbc619f4a652fde1ebad40f19c34a886 + +pkgname = vnote + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..28c484dfaaa2 --- /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 +} |