void-packages/srcpkgs/notes-up/template

26 lines
891 B
Bash

# Template file for 'notes-up'
pkgname=notes-up
version=2.0.6
revision=2
build_style=meson
hostmakedepends="pkg-config vala gettext glib-devel"
makedepends="libgee08-devel discount-devel libwebkit2gtk41-devel granite-devel
gtksourceview4-devel gtkspell3-devel"
depends="hicolor-icon-theme"
short_desc="Markdown notes editor & manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, BSD-3-Clause"
homepage="https://github.com/Philip-Scott/Notes-up"
distfiles="https://github.com/Philip-Scott/Notes-up/archive/${version}.tar.gz"
checksum=6e7b6ac4a3a917867a1555db0a6e03e40ccd9955b5d76e980a26fa8e40744f07
post_patch() {
# Use webkit2gtk-4.1
vsed -e "s/dependency('webkit2gtk-4.0'/dependency('webkit2gtk-4.1'/" -i meson.build
}
post_install() {
ln -s com.github.philip_scott.notes-up ${DESTDIR}/usr/bin/notes-up
vlicense data/assets/highlightjs/highlight.LICENSE
}