gjdwebserver-overlay/sys-power/powersupply/powersupply-0.9.0.ebuild

47 lines
775 B
Bash
Raw Permalink Normal View History

2024-05-24 22:40:34 +02:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson gnome2-utils
DESCRIPTION="Graphical power_supply status tool for Linux mobile platforms"
HOMEPAGE="https://gitlab.com/MartijnBraam/powersupply/"
SRC_URI="https://gitlab.com/MartijnBraam/powersupply/-/archive/${PV}/powersupply-${PV}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~arm64 ~arm"
RDEPEND="
gui-libs/libhandy
"
DEPEND="
${RDEPEND}
"
src_configure() {
meson_src_configure
}
src_compile() {
meson_src_compile
}
src_install() {
meson_src_install
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
2024-05-24 22:43:08 +02:00
xdg_icon_cache_update
2024-05-24 22:40:34 +02:00
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
2024-05-24 22:43:08 +02:00
xdg_icon_cache_update
2024-05-24 22:40:34 +02:00
}