summaryrefslogtreecommitdiff
path: root/x11-apps/sx/sx-9999.ebuild
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-28 16:50:08 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-28 16:50:08 -0400
commitd8705b95a8ed3e817ffc0b95a8f5f2daef9b270e (patch)
treece1e02750c79e5a89e09f12f6309e80d9469d708 /x11-apps/sx/sx-9999.ebuild
parent95fda03f6c47d109e717562b55f890d96adb0246 (diff)
downloadgentoo-overlay-d8705b95a8ed3e817ffc0b95a8f5f2daef9b270e.tar.xz
gentoo-overlay-d8705b95a8ed3e817ffc0b95a8f5f2daef9b270e.zip
x11-apps/sx: add 2.1.3
Diffstat (limited to 'x11-apps/sx/sx-9999.ebuild')
-rw-r--r--x11-apps/sx/sx-9999.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/x11-apps/sx/sx-9999.ebuild b/x11-apps/sx/sx-9999.ebuild
index a5ba000..2c2e7a2 100644
--- a/x11-apps/sx/sx-9999.ebuild
+++ b/x11-apps/sx/sx-9999.ebuild
@@ -3,15 +3,20 @@
EAPI=7
-inherit git-r3
-
DESCRIPTION="Start an xorg server"
HOMEPAGE="https://github.com/Earnestly/sx"
-EGIT_REPO_URI="https://github.com/Earnestly/sx.git"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Earnestly/sx.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/Earnestly/sx/archive/${PV}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="MIT"
SLOT="0"
-KEYWORDS=""
src_compile() {
: