From faccdf58217b2321f9e4b668d71cf91bac66ca13 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 10 Aug 2020 12:41:01 +0300 Subject: x11-misc/closest: Add package --- x11-misc/closest/Manifest | 1 + x11-misc/closest/closest-1.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ x11-misc/closest/closest-9999.ebuild | 36 ++++++++++++++++++++++++++++++++++++ x11-misc/closest/metadata.xml | 8 ++++++++ 4 files changed, 81 insertions(+) create mode 100644 x11-misc/closest/Manifest create mode 100644 x11-misc/closest/closest-1.1.ebuild create mode 100644 x11-misc/closest/closest-9999.ebuild create mode 100644 x11-misc/closest/metadata.xml (limited to 'x11-misc/closest') diff --git a/x11-misc/closest/Manifest b/x11-misc/closest/Manifest new file mode 100644 index 0000000..adb28e9 --- /dev/null +++ b/x11-misc/closest/Manifest @@ -0,0 +1 @@ +DIST closest-1.1.tar.gz 5872 BLAKE2B 961eb79c0d3afb6146f78b25748c4d11a241491296a6c3f045359a747b0e023e18135b50eb8b0edd64a3256a1d3730655e14b9de066934a2c35db401f1e434d6 SHA512 ef00d606d968ac0b4a0cf73843304f9fe26910e16a798de4bd95cba9b5ffdee891c52d9da260c8bb3118326469290bf708670e91ed4a9f004b8a1a0df8980a1f diff --git a/x11-misc/closest/closest-1.1.ebuild b/x11-misc/closest/closest-1.1.ebuild new file mode 100644 index 0000000..bafd51f --- /dev/null +++ b/x11-misc/closest/closest-1.1.ebuild @@ -0,0 +1,36 @@ +# 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/closest.git" +fi + +inherit eutils ${SCM} + +DESCRIPTION="focus the closest window in a given direction" +HOMEPAGE="https://github.com/phillbush/closest" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/phillbush/closest/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXinerama +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_install() { + emake PREFIX= DESTDIR="${D}" MANPREFIX="/usr/share/man" install +} diff --git a/x11-misc/closest/closest-9999.ebuild b/x11-misc/closest/closest-9999.ebuild new file mode 100644 index 0000000..bafd51f --- /dev/null +++ b/x11-misc/closest/closest-9999.ebuild @@ -0,0 +1,36 @@ +# 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/closest.git" +fi + +inherit eutils ${SCM} + +DESCRIPTION="focus the closest window in a given direction" +HOMEPAGE="https://github.com/phillbush/closest" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/phillbush/closest/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXinerama +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_install() { + emake PREFIX= DESTDIR="${D}" MANPREFIX="/usr/share/man" install +} diff --git a/x11-misc/closest/metadata.xml b/x11-misc/closest/metadata.xml new file mode 100644 index 0000000..7869e07 --- /dev/null +++ b/x11-misc/closest/metadata.xml @@ -0,0 +1,8 @@ + + + + + azahi@teknik.io + azahi + + -- cgit 1.4.1