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/Manifest | 1 + x11-misc/xmenu/metadata.xml | 8 ++++++++ x11-misc/xmenu/xmenu-4.3.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ x11-misc/xmenu/xmenu-9999.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 x11-misc/xmenu/Manifest create mode 100644 x11-misc/xmenu/metadata.xml create mode 100644 x11-misc/xmenu/xmenu-4.3.0.ebuild create mode 100644 x11-misc/xmenu/xmenu-9999.ebuild (limited to 'x11-misc') 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 @@ + + + + + azahi@teknik.io + azahi + + 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 +} -- cgit 1.4.1