summaryrefslogtreecommitdiff
path: root/x11-apps/sx/sx-9999.ebuild
diff options
context:
space:
mode:
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() {
: