summary refs log tree commit diff
path: root/x11-libs/libwm/libwm-1.2.ebuild
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-06-16 09:55:27 +0300
committerAzat Bahawi <azahi@teknik.io>2021-06-16 09:55:27 +0300
commiteacbe698d657968af9c2b75606a169908ce153d4 (patch)
tree7c24db9387275f4195f9560ed2d34c0d1d0b50bb /x11-libs/libwm/libwm-1.2.ebuild
parentx11-wm/shod: Bump version (diff)
x11-libs/libwm: Bump version
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Diffstat (limited to 'x11-libs/libwm/libwm-1.2.ebuild')
-rw-r--r--x11-libs/libwm/libwm-1.2.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/x11-libs/libwm/libwm-1.2.ebuild b/x11-libs/libwm/libwm-1.2.ebuild
new file mode 100644
index 0000000..04c49d5
--- /dev/null
+++ b/x11-libs/libwm/libwm-1.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 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/wmutils/libwm"
+fi
+
+DESCRIPTION="A small library for X windows manipulation"
+HOMEPAGE="https://github.com/wmutils/libwm"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/wmutils/libwm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/libxcb"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+DOCS=( README.md )
+
+src_install() {
+	emake install DESTDIR="${D}" PREFIX="/usr"
+	einstalldocs
+}

Consider giving Nix/NixOS a try! <3