diff options
Diffstat (limited to 'x11-misc/sxlock/sxlock-1.1.ebuild')
-rw-r--r-- | x11-misc/sxlock/sxlock-1.1.ebuild | 17 |
1 files changed, 14 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 |