diff options
author | Azat Bahawi <azahi@teknik.io> | 2020-08-10 12:52:31 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2020-08-10 12:52:31 +0300 |
commit | 2618c5fd7dcf6341838206bf64a011a9d88c53cb (patch) | |
tree | b3fba87de1f3dc0f7e8d6a9fa9cdb75357037674 | |
parent | x11-wm/shod: Add package (diff) |
x11-misc/xprompt: Add package
-rw-r--r-- | x11-misc/xprompt/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xprompt/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/xprompt/xprompt-2.2.1.ebuild | 37 | ||||
-rw-r--r-- | x11-misc/xprompt/xprompt-9999.ebuild | 37 |
4 files changed, 83 insertions, 0 deletions
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 @@ +<?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/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 +} |