summary refs log tree commit diff
path: root/x11-apps/sx/sx-2.1.5.ebuild
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-09-30 00:51:48 +0300
committerAzat Bahawi <azahi@teknik.io>2020-09-30 00:51:48 +0300
commit107340da132c6d7dcabc1fc5ce985c7c2100dedc (patch)
tree3830594bba70a33f6395616eb4e4367a3eaa8e09 /x11-apps/sx/sx-2.1.5.ebuild
parentUpdate .mds (diff)
x11-apps/sx: Update ebuild, bump version
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Diffstat (limited to 'x11-apps/sx/sx-2.1.5.ebuild')
-rw-r--r--x11-apps/sx/sx-2.1.5.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-apps/sx/sx-2.1.5.ebuild b/x11-apps/sx/sx-2.1.5.ebuild
new file mode 100644
index 0000000..8b181f6
--- /dev/null
+++ b/x11-apps/sx/sx-2.1.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/Earnestly/sx.git"
+fi
+
+DESCRIPTION="Start an xorg server"
+HOMEPAGE="https://github.com/Earnestly/sx"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/Earnestly/sx/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+	x11-apps/xauth
+	x11-base/xorg-server[xorg]
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_compile() {
+	:;
+}
+
+src_install() {
+	dobin ${PN}
+	doman ${PN}.1
+}

Consider giving Nix/NixOS a try! <3