summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28c484dfaaa2c0d7de8dea878bb43e8ae4ab63a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}