From 3d261a93f5e934e87018b0be3d05f410445a3ed1 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 29 Mar 2021 11:49:51 +0300 Subject: x11-misc/xclickroot: Bump version Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Azat Bahawi --- x11-misc/xclickroot/Manifest | 2 +- x11-misc/xclickroot/metadata.xml | 3 ++ x11-misc/xclickroot/xclickroot-1.0.ebuild | 34 ------------------ x11-misc/xclickroot/xclickroot-1.3.ebuild | 55 ++++++++++++++++++++++++++++++ x11-misc/xclickroot/xclickroot-9999.ebuild | 27 +++++++++++++-- 5 files changed, 83 insertions(+), 38 deletions(-) delete mode 100644 x11-misc/xclickroot/xclickroot-1.0.ebuild create mode 100644 x11-misc/xclickroot/xclickroot-1.3.ebuild (limited to 'x11-misc/xclickroot') diff --git a/x11-misc/xclickroot/Manifest b/x11-misc/xclickroot/Manifest index edaf4e2..efdf0ac 100644 --- a/x11-misc/xclickroot/Manifest +++ b/x11-misc/xclickroot/Manifest @@ -1 +1 @@ -DIST xclickroot-1.0.tar.gz 2250 BLAKE2B c83e0809aaaccc3bc917a563747797b84bf2875d04443c4ddb09ab9652d90e5cb22e7e236aacb422baa5008c951fa3bd05e23ad94b395bd21e4051291bd1f2fc SHA512 9dcce0e2a22bcf7109067cb0182056d877c484349db956e34cd3c3cf5edc1a51d2eb8f96539370fbb46a11a8b70e1f7d6e07ac46526beb8bba533013358fa2bc +DIST xclickroot-1.3.tar.gz 2269 BLAKE2B e76939efc19a9939cd283a6ea6389f0ec7e8734ca505f19fa297095c2091cb159bf5ef8211c561439aa678453f2e5cbdaf5a1c041204d82b2b1d52683be15361 SHA512 39f28bfd76ca9233c9430d596dd6538e20bbaa44ad2d347899247202d943b24d04cf0b802b70971643705f378f3a91a151e2e72959ab4f787ffa6b4ff381a7a4 diff --git a/x11-misc/xclickroot/metadata.xml b/x11-misc/xclickroot/metadata.xml index 7869e07..e906556 100644 --- a/x11-misc/xclickroot/metadata.xml +++ b/x11-misc/xclickroot/metadata.xml @@ -5,4 +5,7 @@ azahi@teknik.io azahi + + phillbush/xclickroot + diff --git a/x11-misc/xclickroot/xclickroot-1.0.ebuild b/x11-misc/xclickroot/xclickroot-1.0.ebuild deleted file mode 100644 index 839addd..0000000 --- a/x11-misc/xclickroot/xclickroot-1.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 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/xclickroot.git" -fi - -inherit eutils ${SCM} - -DESCRIPTION="click on root window and run a command" -HOMEPAGE="https://github.com/phillbush/xclickroot" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/phillbush/xclickroot/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="x11-libs/libX11" -RDEPEND="${DEPEND}" -BDEPEND="" - -src_install() { - emake PREFIX= DESTDIR="${D}" MANPREFIX="/usr/share/man" install -} diff --git a/x11-misc/xclickroot/xclickroot-1.3.ebuild b/x11-misc/xclickroot/xclickroot-1.3.ebuild new file mode 100644 index 0000000..40b870c --- /dev/null +++ b/x11-misc/xclickroot/xclickroot-1.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 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/xclickroot.git" +fi + +inherit toolchain-funcs ${SCM} + +DESCRIPTION="Click on the root window and run a command" +HOMEPAGE="https://github.com/phillbush/xclickroot" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/phillbush/xclickroot/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="x11-libs/libX11" +RDEPEND="${DEPEND}" +BDEPEND="" + +DOCS=( + README +) + +src_prepare() { + sed -e '/^CPPFLAGS/d' \ + -e 's/FLAGS =/FLAGS +=/g' \ + -i config.mk || die + + default +} + +src_compile() { + emake \ + CC="$(tc-getCC)" +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" + + einstalldocs +} diff --git a/x11-misc/xclickroot/xclickroot-9999.ebuild b/x11-misc/xclickroot/xclickroot-9999.ebuild index 839addd..40b870c 100644 --- a/x11-misc/xclickroot/xclickroot-9999.ebuild +++ b/x11-misc/xclickroot/xclickroot-9999.ebuild @@ -8,9 +8,9 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/phillbush/xclickroot.git" fi -inherit eutils ${SCM} +inherit toolchain-funcs ${SCM} -DESCRIPTION="click on root window and run a command" +DESCRIPTION="Click on the root window and run a command" HOMEPAGE="https://github.com/phillbush/xclickroot" if [[ ${PV} == *9999 ]]; then @@ -29,6 +29,27 @@ DEPEND="x11-libs/libX11" RDEPEND="${DEPEND}" BDEPEND="" +DOCS=( + README +) + +src_prepare() { + sed -e '/^CPPFLAGS/d' \ + -e 's/FLAGS =/FLAGS +=/g' \ + -i config.mk || die + + default +} + +src_compile() { + emake \ + CC="$(tc-getCC)" +} + src_install() { - emake PREFIX= DESTDIR="${D}" MANPREFIX="/usr/share/man" install + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" + + einstalldocs } -- cgit 1.4.1