summary refs log tree commit diff
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-10-10 13:18:48 +0300
committerAzat Bahawi <azahi@teknik.io>2020-10-10 13:18:53 +0300
commit437752c632af82403753bddf2a629cc8c4f191e1 (patch)
treeafe0bbfe042ec77f746d08baa5f4e252049d8e90
parentx11-libs/libwm: Move from category dev-libs (diff)
x11-misc/xbanish: Add package
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Azat Bahawi <azahi@teknik.io>
-rw-r--r--x11-misc/xbanish/Manifest1
-rw-r--r--x11-misc/xbanish/metadata.xml11
-rw-r--r--x11-misc/xbanish/xbanish-1.7.ebuild40
-rw-r--r--x11-misc/xbanish/xbanish-9999.ebuild40
4 files changed, 92 insertions, 0 deletions
diff --git a/x11-misc/xbanish/Manifest b/x11-misc/xbanish/Manifest
new file mode 100644
index 0000000..0aa1cc9
--- /dev/null
+++ b/x11-misc/xbanish/Manifest
@@ -0,0 +1 @@
+DIST xbanish-1.7.tar.gz 6379 BLAKE2B b5c2da9890676be642d963147b38585089160bbeb8609e66e586ce69b886e39e4b02e60e1c4554fb27454ae3bc89c7169f5b1ece3e511e327ee0bfbef25035c3 SHA512 f790ea888812bb6b7793f0a60a900724fc407ec4485672e37d464387ffacfa4bf2dc891862f3fed06948cda31024745816b3adb58074c4578edc6a9848f2bd08
diff --git a/x11-misc/xbanish/metadata.xml b/x11-misc/xbanish/metadata.xml
new file mode 100644
index 0000000..13a6f13
--- /dev/null
+++ b/x11-misc/xbanish/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>azahi@teknik.io</email>
+		<name>azahi</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">jcs/xbanish</remote-id>
+	</upstream>
+</pkgmetadata>
diff --git a/x11-misc/xbanish/xbanish-1.7.ebuild b/x11-misc/xbanish/xbanish-1.7.ebuild
new file mode 100644
index 0000000..844d3aa
--- /dev/null
+++ b/x11-misc/xbanish/xbanish-1.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2018-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/jcs/xbanish.git"
+fi
+
+DESCRIPTION="Banish the mouse cursor when typing, show it again when the mouse moves"
+HOMEPAGE="https://github.com/jcs/xbanish"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/jcs/xbanish/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+	x11-libs/libX11
+	x11-libs/libXfixes
+	x11-libs/libXi
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+DOCS=( README.md )
+
+src_install() {
+	dobin ${PN}
+	doman ${PN}.1
+	einstalldocs
+}
diff --git a/x11-misc/xbanish/xbanish-9999.ebuild b/x11-misc/xbanish/xbanish-9999.ebuild
new file mode 100644
index 0000000..844d3aa
--- /dev/null
+++ b/x11-misc/xbanish/xbanish-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2018-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/jcs/xbanish.git"
+fi
+
+DESCRIPTION="Banish the mouse cursor when typing, show it again when the mouse moves"
+HOMEPAGE="https://github.com/jcs/xbanish"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/jcs/xbanish/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+	x11-libs/libX11
+	x11-libs/libXfixes
+	x11-libs/libXi
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+DOCS=( README.md )
+
+src_install() {
+	dobin ${PN}
+	doman ${PN}.1
+	einstalldocs
+}

Consider giving Nix/NixOS a try! <3