commit:     cfd0b7cb4794a27854881320104566015699b83c
Author:     Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
AuthorDate: Mon Dec 21 22:25:06 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Dec 21 22:25:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfd0b7cb

x11-misc/betterlockscreen_rapid: improve live ebuild

improve live ebuild:
- don't use ${HOMEPAGE} in EGIT_REPO_URI
- don't use ${PN} in src_install

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Jian Lin <jlin.gentoo <AT> outlook.com>

 .../betterlockscreen_rapid/betterlockscreen_rapid-9999.ebuild     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/x11-misc/betterlockscreen_rapid/betterlockscreen_rapid-9999.ebuild 
b/x11-misc/betterlockscreen_rapid/betterlockscreen_rapid-9999.ebuild
index 055a321c..58fcaecc 100644
--- a/x11-misc/betterlockscreen_rapid/betterlockscreen_rapid-9999.ebuild
+++ b/x11-misc/betterlockscreen_rapid/betterlockscreen_rapid-9999.ebuild
@@ -2,15 +2,15 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit git-r3
 
 DESCRIPTION="A rapid and good-looking screen locker"
 HOMEPAGE="https://github.com/oakszyjrnrdy/betterlockscreen_rapid";
-EGIT_REPO_URI="${HOMEPAGE}"
+EGIT_REPO_URI="https://github.com/oakszyjrnrdy/betterlockscreen_rapid.git";
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
 
 RDEPEND="
        x11-misc/i3lock-color
@@ -18,7 +18,7 @@ RDEPEND="
 "
 
 src_install() {
-       dobin "${PN}"
+       dobin betterlockscreen_rapid
        insinto /etc
-       doins "${PN}.conf"
+       doins betterlockscreen_rapid.conf
 }

Reply via email to