summary refs log tree commit diff
path: root/x11-misc/unclutter-xfixes/unclutter-xfixes-1.3.ebuild
diff options
context:
space:
mode:
authorazahi <azahi@teknik.io>2018-12-28 01:22:40 +0300
committerazahi <azahi@teknik.io>2018-12-28 01:22:40 +0300
commit8f2f466965f061ce6d6be4443497c0fe6e10a5bc (patch)
tree9999239cbbac3bab7497b28c44dd75cf499d7f8c /x11-misc/unclutter-xfixes/unclutter-xfixes-1.3.ebuild
Initial
Diffstat (limited to '')
-rw-r--r--x11-misc/unclutter-xfixes/unclutter-xfixes-1.3.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/x11-misc/unclutter-xfixes/unclutter-xfixes-1.3.ebuild b/x11-misc/unclutter-xfixes/unclutter-xfixes-1.3.ebuild
new file mode 100644
index 0000000..fc829cf
--- /dev/null
+++ b/x11-misc/unclutter-xfixes/unclutter-xfixes-1.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A rewrite of unclutter using the x11-xfixes extension"
+HOMEPAGE="https://github.com/Airblader/unclutter-xfixes"
+SRC_URI="https://github.com/Airblader/unclutter-xfixes/archive/v${PV}.tar.gz \
+	-> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="x11-libs/libXi
+	x11-libs/libX11
+	x11-libs/libXfixes
+	dev-libs/libev
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+
+	sed -e "s/\$(shell git describe --all --long --always)/${PV}/" \
+		-i Makefile || die
+}

Consider giving Nix/NixOS a try! <3