summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--x11-wm/tinywm/Manifest1
-rw-r--r--x11-wm/tinywm/metadata.xml8
-rw-r--r--x11-wm/tinywm/tinywm-1.1.ebuild32
-rw-r--r--x11-wm/tinywm/tinywm-9999.ebuild32
4 files changed, 73 insertions, 0 deletions
diff --git a/x11-wm/tinywm/Manifest b/x11-wm/tinywm/Manifest
new file mode 100644
index 0000000..4d7c2ed
--- /dev/null
+++ b/x11-wm/tinywm/Manifest
@@ -0,0 +1 @@
+DIST tinywm-1.1.tar.gz 1587 BLAKE2B 0affb938c0b4b357048c09534c5cf578e32f21376204c6bbcb9d60e27d9c3f257d6da82c055c0438088d0f2da338fc71ed5c78449b2be70f57a35dec7c7ddcb3 SHA512 7c7896c5608470cc00a06811b1980ca1a52ddf099288ae63d0d37a09d5acdad7047583af1ec00cb9e387e690b8ae1734a26d5afc69e978a23ca8059f823b44c6
diff --git a/x11-wm/tinywm/metadata.xml b/x11-wm/tinywm/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/x11-wm/tinywm/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/tinywm/tinywm-1.1.ebuild b/x11-wm/tinywm/tinywm-1.1.ebuild
new file mode 100644
index 0000000..551dce1
--- /dev/null
+++ b/x11-wm/tinywm/tinywm-1.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2019-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/mackstann/tinywm.git"
+fi
+
+DESCRIPTION="The tiniest window manager."
+HOMEPAGE="https://github.com/mackstann/tinywm"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/mackstann/tinywm/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install() {
+	dobin ${PN}
+}
diff --git a/x11-wm/tinywm/tinywm-9999.ebuild b/x11-wm/tinywm/tinywm-9999.ebuild
new file mode 100644
index 0000000..551dce1
--- /dev/null
+++ b/x11-wm/tinywm/tinywm-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2019-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/mackstann/tinywm.git"
+fi
+
+DESCRIPTION="The tiniest window manager."
+HOMEPAGE="https://github.com/mackstann/tinywm"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/mackstann/tinywm/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install() {
+	dobin ${PN}
+}

Consider giving Nix/NixOS a try! <3