commit:     7f4bd53597bd70a502fb3636eeb2f24e3d35363d
Author:     Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Tue Aug  6 08:03:20 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Tue Aug  6 08:03:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f4bd535

sys-apps/save-backlight: revbump

This revision respects `EPREFIX`.

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>

 ...e-backlight-1.1.2.ebuild => save-backlight-1.1.2-r1.ebuild} | 10 ++++++++--
 sys-apps/save-backlight/save-backlight-9999.ebuild             | 10 ++++++++--
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/sys-apps/save-backlight/save-backlight-1.1.2.ebuild 
b/sys-apps/save-backlight/save-backlight-1.1.2-r1.ebuild
similarity index 84%
rename from sys-apps/save-backlight/save-backlight-1.1.2.ebuild
rename to sys-apps/save-backlight/save-backlight-1.1.2-r1.ebuild
index b7ff9c29b..a8fcd7533 100644
--- a/sys-apps/save-backlight/save-backlight-1.1.2.ebuild
+++ b/sys-apps/save-backlight/save-backlight-1.1.2-r1.ebuild
@@ -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
 }

diff --git a/sys-apps/save-backlight/save-backlight-9999.ebuild 
b/sys-apps/save-backlight/save-backlight-9999.ebuild
index b7ff9c29b..a8fcd7533 100644
--- a/sys-apps/save-backlight/save-backlight-9999.ebuild
+++ b/sys-apps/save-backlight/save-backlight-9999.ebuild
@@ -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
 }

Reply via email to