summary refs log tree commit diff
path: root/x11-misc/xmenu
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xmenu')
-rw-r--r--x11-misc/xmenu/Manifest1
-rw-r--r--x11-misc/xmenu/metadata.xml8
-rw-r--r--x11-misc/xmenu/xmenu-4.3.0.ebuild38
-rw-r--r--x11-misc/xmenu/xmenu-9999.ebuild38
4 files changed, 85 insertions, 0 deletions
diff --git a/x11-misc/xmenu/Manifest b/x11-misc/xmenu/Manifest
new file mode 100644
index 0000000..cf8382d
--- /dev/null
+++ b/x11-misc/xmenu/Manifest
@@ -0,0 +1 @@
+DIST xmenu-4.3.0.tar.gz 137124 BLAKE2B f50da06bdced52f99391eed481fe88c9b0952a1c44d52ca096a72e291d1926e435fca064ef3f84aca568e1fdd10cb133185bb1942f0234f42814671dde75c02a SHA512 bd58fd44a6f373b3f367b84f51b41eb53d29c5a117127f5755aed947b2812118af8e9f78324337243135e4995e5c6753157bda304157251d068884cbbc7158d2
diff --git a/x11-misc/xmenu/metadata.xml b/x11-misc/xmenu/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/x11-misc/xmenu/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-misc/xmenu/xmenu-4.3.0.ebuild b/x11-misc/xmenu/xmenu-4.3.0.ebuild
new file mode 100644
index 0000000..0526bfc
--- /dev/null
+++ b/x11-misc/xmenu/xmenu-4.3.0.ebuild
@@ -0,0 +1,38 @@
+# 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/xmenu.git"
+fi
+
+inherit eutils ${SCM}
+
+DESCRIPTION="a x11 menu utility"
+HOMEPAGE="https://github.com/phillbush/xmenu"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/phillbush/xmenu/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="media-libs/imlib2
+	x11-libs/libX11
+	x11-libs/libXft
+	x11-libs/libXinerama
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install() {
+	emake PREFIX= DESTDIR="${D}" MANPREFIX="/usr/share/man" install
+}
diff --git a/x11-misc/xmenu/xmenu-9999.ebuild b/x11-misc/xmenu/xmenu-9999.ebuild
new file mode 100644
index 0000000..0526bfc
--- /dev/null
+++ b/x11-misc/xmenu/xmenu-9999.ebuild
@@ -0,0 +1,38 @@
+# 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/xmenu.git"
+fi
+
+inherit eutils ${SCM}
+
+DESCRIPTION="a x11 menu utility"
+HOMEPAGE="https://github.com/phillbush/xmenu"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/phillbush/xmenu/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="media-libs/imlib2
+	x11-libs/libX11
+	x11-libs/libXft
+	x11-libs/libXinerama
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install() {
+	emake PREFIX= DESTDIR="${D}" MANPREFIX="/usr/share/man" install
+}

Consider giving Nix/NixOS a try! <3