summary refs log tree commit diff
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-08-10 12:47:44 +0300
committerAzat Bahawi <azahi@teknik.io>2020-08-10 12:47:44 +0300
commit73898779e00760943a34318bd34f7403af12ef73 (patch)
tree04e8a75232b8d6869540f735b4aebbd7d48b673a
parentx11-misc/closest: Add package (diff)
x11-wm/shod: Add package
Diffstat (limited to '')
-rw-r--r--x11-wm/shod/Manifest1
-rw-r--r--x11-wm/shod/metadata.xml8
-rw-r--r--x11-wm/shod/shod-0.2.2.ebuild36
-rw-r--r--x11-wm/shod/shod-9999.ebuild36
4 files changed, 81 insertions, 0 deletions
diff --git a/x11-wm/shod/Manifest b/x11-wm/shod/Manifest
new file mode 100644
index 0000000..ed5b44b
--- /dev/null
+++ b/x11-wm/shod/Manifest
@@ -0,0 +1 @@
+DIST shod-0.2.2.tar.gz 30642 BLAKE2B 836897c9f07ce4358b97151a2f239b7ce773986ad56872b0f6b360c0e6e2b28124e9614a437799c77516fe3bd482418726719551149dc510af2cf7143483414f SHA512 4523bce9ec14186ce4566df3be9da06c488c373e76c8702ecf159098c8596ad5592ab859ece00a9faa0c03774c454fead0efd025d0d5c001e5529490175c2d6b
diff --git a/x11-wm/shod/metadata.xml b/x11-wm/shod/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/x11-wm/shod/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/x11-wm/shod/shod-0.2.2.ebuild b/x11-wm/shod/shod-0.2.2.ebuild
new file mode 100644
index 0000000..cc28c3b
--- /dev/null
+++ b/x11-wm/shod/shod-0.2.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == *9999 ]]; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/phillbush/shod.git"
+fi
+
+inherit eutils ${SCM}
+
+DESCRIPTION="hybrid (floating and tiling) window manager"
+HOMEPAGE="https://github.com/phillbush/shod"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/phillbush/shod/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+	x11-libs/libXinerama
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install() {
+	emake PREFIX= DESTDIR="${D}" MANPREFIX="/usr/share/man" install
+}
diff --git a/x11-wm/shod/shod-9999.ebuild b/x11-wm/shod/shod-9999.ebuild
new file mode 100644
index 0000000..cc28c3b
--- /dev/null
+++ b/x11-wm/shod/shod-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == *9999 ]]; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/phillbush/shod.git"
+fi
+
+inherit eutils ${SCM}
+
+DESCRIPTION="hybrid (floating and tiling) window manager"
+HOMEPAGE="https://github.com/phillbush/shod"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/phillbush/shod/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+	x11-libs/libXinerama
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install() {
+	emake PREFIX= DESTDIR="${D}" MANPREFIX="/usr/share/man" install
+}

Consider giving Nix/NixOS a try! <3