guru/app-misc/minder/minder-1.16.3.ebuild
Lucio Sauer f2be215fb9
*/*: fix variable order
Manually went through some entries for `pkgcheck scan -c
VariableOrderCheck`.

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2024-04-26 16:46:35 +02:00

53 lines
995 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson vala xdg
DESCRIPTION="Mind-mapping application for Elementary OS."
HOMEPAGE="https://github.com/phase1geo/Minder"
SRC_URI="https://github.com/phase1geo/Minder/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/Minder-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
app-text/discount
dev-lang/vala
dev-libs/granite
dev-libs/json-glib
gui-libs/libhandy[vala]
x11-libs/gtksourceview:4[vala]
"
DEPEND="
${RDEPEND}
app-text/discount
"
src_prepare() {
default
vala_setup
# Workaround for #871687
sed -i "s/meson.add_install_script('meson\/post_install.py')//g" meson.build || die
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_mimeinfo_database_update
gnome2_schemas_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_mimeinfo_database_update
gnome2_schemas_update
}