From 5dabe41a02fdf7efd9aa94314d4ab84c8efe9ab8 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 10 Aug 2020 15:21:03 +0300 Subject: x11-misc/xmenu: Add package --- x11-misc/xmenu/xmenu-9999.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 x11-misc/xmenu/xmenu-9999.ebuild (limited to 'x11-misc/xmenu/xmenu-9999.ebuild') 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 +} -- cgit 1.4.1