diff options
author | Azat Bahawi <azahi@teknik.io> | 2020-02-29 13:01:34 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2020-02-29 13:01:34 +0300 |
commit | fa61e295882f813a8352fad0878c21bebf63559f (patch) | |
tree | 1b0024763b3c9aeea427c22e76e27177ac19dd35 /x11-misc | |
parent | x11-misc/pywal: Bump EAPI, bump version, live (diff) |
x11-misc/sxlock: Add live ebuild
Diffstat (limited to '')
-rw-r--r-- | x11-misc/sxlock/sxlock-1.1.ebuild | 17 | ||||
-rw-r--r-- | x11-misc/sxlock/sxlock-9999.ebuild | 34 |
2 files changed, 48 insertions, 3 deletions
diff --git a/x11-misc/sxlock/sxlock-1.1.ebuild b/x11-misc/sxlock/sxlock-1.1.ebuild index e27e3f9..f5856a8 100644 --- a/x11-misc/sxlock/sxlock-1.1.ebuild +++ b/x11-misc/sxlock/sxlock-1.1.ebuild @@ -3,15 +3,26 @@ EAPI=7 -inherit eutils +if [[ ${PV} == *9999 ]]; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/lahwaacz/sxlock.git" +fi + +inherit eutils ${SCM} DESCRIPTION="simple X screen locker" HOMEPAGE="https://github.com/lahwaacz/sxlock" -SRC_URI="https://github.com/lahwaacz/sxlock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/lahwaacz/sxlock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="sys-libs/pam diff --git a/x11-misc/sxlock/sxlock-9999.ebuild b/x11-misc/sxlock/sxlock-9999.ebuild new file mode 100644 index 0000000..f5856a8 --- /dev/null +++ b/x11-misc/sxlock/sxlock-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 2018-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999 ]]; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/lahwaacz/sxlock.git" +fi + +inherit eutils ${SCM} + +DESCRIPTION="simple X screen locker" +HOMEPAGE="https://github.com/lahwaacz/sxlock" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/lahwaacz/sxlock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="sys-libs/pam + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr +" +RDEPEND="${DEPEND}" +BDEPEND="" |