aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-03-27 19:11:03 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-03-27 19:11:03 +0100
commita5d96681e787cdcb019240039363ae9c25138ada (patch)
treeb39929d880fad6fe1fdc46cdef8d05be2d5b30b2 /x11-misc/betterlockscreen
parentx11-themes/arc-kde: indentation fix (diff)
downloadguru-a5d96681e787cdcb019240039363ae9c25138ada.tar.gz
guru-a5d96681e787cdcb019240039363ae9c25138ada.tar.bz2
guru-a5d96681e787cdcb019240039363ae9c25138ada.zip
x11-misc/betterlockscreen: fixes
Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'x11-misc/betterlockscreen')
-rw-r--r--x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild20
-rw-r--r--x11-misc/betterlockscreen/betterlockscreen-9999.ebuild20
2 files changed, 22 insertions, 18 deletions
diff --git a/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild b/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild
index d264d7d57..1f008cf2f 100644
--- a/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild
+++ b/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild
@@ -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
diff --git a/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild b/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild
index d264d7d57..1f008cf2f 100644
--- a/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild
+++ b/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild
@@ -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