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@outlook.com>
This commit is contained in:
Jian Lin
2020-12-22 06:25:06 +08:00
parent f5e750afa9
commit cfd0b7cb47

View File

@@ -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
}