x11-misc/betterlockscreen: fixes

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-03-27 19:11:03 +01:00
parent 9d71f9640e
commit a5d96681e7
2 changed files with 22 additions and 18 deletions

View File

@@ -6,12 +6,14 @@ EAPI=7
DESCRIPTION="sweet looking lockscreen for linux system"
HOMEPAGE="https://github.com/pavanjadhaw/betterlockscreen"
if [[ ${PV} == 9999 ]];then
inherit git-r3 systemd
inherit systemd
if [[ "${PV}" == 9999 ]];then
inherit git-r3
EGIT_REPO_URI="${HOMEPAGE}"
KEYWORDS=""
else
inherit systemd
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/pavanjadhaw/betterlockscreen/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
@@ -19,21 +21,21 @@ LICENSE="MIT"
SLOT="0"
DEPEND="
>=x11-misc/i3lock-color-2.11:=
media-gfx/feh
media-gfx/imagemagick
sys-devel/bc
x11-apps/xdpyinfo
x11-apps/xrandr
sys-devel/bc
media-gfx/feh
>=x11-misc/i3lock-color-2.11:=
"
RDEPEND="${DEPEND}"
src_install(){
src_install() {
dobin betterlockscreen
dodoc -r examples
if [[ $PV == 9999 ]] ; then
if [[ "${PV}" == 9999 ]] ; then
systemd_dounit system/betterlockscreen@.service
else
systemd_dounit betterlockscreen@.service

View File

@@ -6,12 +6,14 @@ EAPI=7
DESCRIPTION="sweet looking lockscreen for linux system"
HOMEPAGE="https://github.com/pavanjadhaw/betterlockscreen"
if [[ ${PV} == 9999 ]];then
inherit git-r3 systemd
inherit systemd
if [[ "${PV}" == 9999 ]];then
inherit git-r3
EGIT_REPO_URI="${HOMEPAGE}"
KEYWORDS=""
else
inherit systemd
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/pavanjadhaw/betterlockscreen/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
@@ -19,21 +21,21 @@ LICENSE="MIT"
SLOT="0"
DEPEND="
>=x11-misc/i3lock-color-2.11:=
media-gfx/feh
media-gfx/imagemagick
sys-devel/bc
x11-apps/xdpyinfo
x11-apps/xrandr
sys-devel/bc
media-gfx/feh
>=x11-misc/i3lock-color-2.11:=
"
RDEPEND="${DEPEND}"
src_install(){
src_install() {
dobin betterlockscreen
dodoc -r examples
if [[ $PV == 9999 ]] ; then
if [[ "${PV}" == 9999 ]] ; then
systemd_dounit system/betterlockscreen@.service
else
systemd_dounit betterlockscreen@.service