From 2618c5fd7dcf6341838206bf64a011a9d88c53cb Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 10 Aug 2020 12:52:31 +0300 Subject: x11-misc/xprompt: Add package --- x11-misc/xprompt/Manifest | 1 + x11-misc/xprompt/metadata.xml | 8 ++++++++ x11-misc/xprompt/xprompt-2.2.1.ebuild | 37 +++++++++++++++++++++++++++++++++++ x11-misc/xprompt/xprompt-9999.ebuild | 37 +++++++++++++++++++++++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 x11-misc/xprompt/Manifest create mode 100644 x11-misc/xprompt/metadata.xml create mode 100644 x11-misc/xprompt/xprompt-2.2.1.ebuild create mode 100644 x11-misc/xprompt/xprompt-9999.ebuild diff --git a/x11-misc/xprompt/Manifest b/x11-misc/xprompt/Manifest new file mode 100644 index 0000000..d98194e --- /dev/null +++ b/x11-misc/xprompt/Manifest @@ -0,0 +1 @@ +DIST xprompt-2.2.1.tar.gz 1191013 BLAKE2B c0fc7b36ea6b1694aea488b55e28e40c8dbaee25180e377c3dbd6c122770808c6eceb144f05a979852c77bef521458b0a20e1872cd5c9cdbc605eba47e47c4eb SHA512 ea1088ef06175a1bfb1c42afec8743d031000a5c47c1d6ddf30b30c72eed10d8de238a5096b0dc49cf0e2f763953f031f75bd4e8706f8c4245051efd71769639 diff --git a/x11-misc/xprompt/metadata.xml b/x11-misc/xprompt/metadata.xml new file mode 100644 index 0000000..7869e07 --- /dev/null +++ b/x11-misc/xprompt/metadata.xml @@ -0,0 +1,8 @@ + + + + + azahi@teknik.io + azahi + + diff --git a/x11-misc/xprompt/xprompt-2.2.1.ebuild b/x11-misc/xprompt/xprompt-2.2.1.ebuild new file mode 100644 index 0000000..1185878 --- /dev/null +++ b/x11-misc/xprompt/xprompt-2.2.1.ebuild @@ -0,0 +1,37 @@ +# 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/xprompt.git" +fi + +inherit eutils ${SCM} + +DESCRIPTION="A dmenu rip-off with contextual completion" +HOMEPAGE="https://github.com/phillbush/xprompt" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/phillbush/xprompt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="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/xprompt/xprompt-9999.ebuild b/x11-misc/xprompt/xprompt-9999.ebuild new file mode 100644 index 0000000..1185878 --- /dev/null +++ b/x11-misc/xprompt/xprompt-9999.ebuild @@ -0,0 +1,37 @@ +# 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/xprompt.git" +fi + +inherit eutils ${SCM} + +DESCRIPTION="A dmenu rip-off with contextual completion" +HOMEPAGE="https://github.com/phillbush/xprompt" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/phillbush/xprompt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="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