sys-apps/save-backlight: revbump

This revision respects `EPREFIX`.

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
This commit is contained in:
Mattéo Rossillol‑‑Laruelle 2024-08-06 10:03:20 +02:00
parent 76df895a89
commit 7f4bd53597
No known key found for this signature in database
GPG Key ID: ADEFD59FF5C6EC76
2 changed files with 16 additions and 4 deletions

View File

@ -3,6 +3,8 @@
EAPI=8
inherit prefix
DESCRIPTION="An OpenRC service for restoring the last brightness level on reboot"
HOMEPAGE="https://github.com/beatussum/save-backlight/"
@ -16,13 +18,17 @@ fi
LICENSE="GPL-3+"
SLOT="0"
RESTRICT="binchecks strip test"
RDEPEND="sys-apps/openrc"
src_prepare() {
default
hprefixify save-backlight
}
src_compile() { :; }
src_install() {
einstalldocs
emake PREFIX="" DESTDIR="${D}" install
emake DESTDIR="${ED}" PREFIX="" install
}

View File

@ -3,6 +3,8 @@
EAPI=8
inherit prefix
DESCRIPTION="An OpenRC service for restoring the last brightness level on reboot"
HOMEPAGE="https://github.com/beatussum/save-backlight/"
@ -16,13 +18,17 @@ fi
LICENSE="GPL-3+"
SLOT="0"
RESTRICT="binchecks strip test"
RDEPEND="sys-apps/openrc"
src_prepare() {
default
hprefixify save-backlight
}
src_compile() { :; }
src_install() {
einstalldocs
emake PREFIX="" DESTDIR="${D}" install
emake DESTDIR="${ED}" PREFIX="" install
}