New package: notes-up-2.0.2

This commit is contained in:
Lorem 2020-04-10 08:04:57 +05:30 committed by Jürgen Buchmüller
parent 7b8b7d31be
commit a37f4b4325

25
srcpkgs/notes-up/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'notes-up'
pkgname=notes-up
version=2.0.2
revision=1
wrksrc=Notes-up-${version}
build_style=cmake
configure_args="-Dnoele=$(vopt_if pantheon false true)"
hostmakedepends="pkg-config intltool vala glib-devel"
makedepends="libgee08-devel discount-devel webkit2gtk-devel granite-devel
gtksourceview-devel gtkspell3-devel"
depends="hicolor-icon-theme $(vopt_if pantheon contractor)"
short_desc="Markdown notes editor & manager"
maintainer="Lorem <notloremipsum@protonmail.com>"
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=35eb1df71034a118e66e6e00f5394c68423cfba7ceac035bde156d77da933b17
build_options="pantheon"
desc_option_pantheon="build with Contractor support"
post_install() {
ln -s com.github.philip-scott.notes-up ${DESTDIR}/usr/bin/notes-up
vlicense data/assets/highlightjs/highlight.LICENSE
rm ${DESTDIR}/usr/share/notes-up/highlight.LICENSE
}