This commit is contained in:
2024-05-24 22:40:34 +02:00
parent 68b32f9b36
commit dfa42751e2
2 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
# 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
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}