diff options
author | Azat Bahawi <azahi@teknik.io> | 2021-06-25 20:19:52 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2021-06-25 20:19:52 +0300 |
commit | 7528d3496154cd0a8daf8ada7891928798a57565 (patch) | |
tree | 62ea3674f48cb378364f6721f77f768ad8299297 /x11-misc | |
parent | ci: Update TravisCI runner (diff) |
meta: Refactor ebuilds and directory structure
- Drop "-rn" (revisions) fork 9999 (live) versions. - Versioned ebuilds are now symlinked to 9999 (live) versions. This should be followed for every package from now on. - Apply `shfmt` on all ebuilds. - Update metadata.
Diffstat (limited to '')
36 files changed, 36 insertions, 809 deletions
diff --git a/x11-misc/bgs/bgs-0.8-r2.ebuild b/x11-misc/bgs/bgs-0.8-r2.ebuild index 5117abf..7d2339c 100644..120000 --- a/x11-misc/bgs/bgs-0.8-r2.ebuild +++ b/x11-misc/bgs/bgs-0.8-r2.ebuild @@ -1,53 +1 @@ -# 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/Gottox/bgs.git" -fi - -inherit toolchain-funcs ${SCM} - -DESCRIPTION="Simple background setter based on imlib2" -HOMEPAGE="https://github.com/Gottox/bgs" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/Gottox/bgs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="xinerama" - -DEPEND=" - xinerama? ( x11-libs/libXinerama ) - media-libs/imlib2 - x11-libs/libX11 -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - sed -e "s/^CC.*/CC = $(tc-getCC)/" \ - -i config.mk || die - - if ! use xinerama; then - sed -e '/XINERAMALIBS =/d' \ - -e '/XINERAMAFLAGS =/d' \ - -i config.mk || die - fi - - default -} - -src_install() { - dobin ${PN} - doman ${PN}.1 - dodoc README -} +bgs-9999.ebuild \ No newline at end of file diff --git a/x11-misc/bgs/bgs-9999-r1.ebuild b/x11-misc/bgs/bgs-9999.ebuild index 5117abf..e4cbe62 100644 --- a/x11-misc/bgs/bgs-9999-r1.ebuild +++ b/x11-misc/bgs/bgs-9999.ebuild @@ -34,7 +34,7 @@ RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" src_prepare() { - sed -e "s/^CC.*/CC = $(tc-getCC)/" \ + sed -e "s/^CC.*/CC = $(tc-getCC)/" \ -i config.mk || die if ! use xinerama; then diff --git a/x11-misc/colt/colt-1.1.ebuild b/x11-misc/colt/colt-1.1.ebuild index 8af8d39..32b8e23 100644 --- a/x11-misc/colt/colt-1.1.ebuild +++ b/x11-misc/colt/colt-1.1.ebuild @@ -29,7 +29,6 @@ DEPEND="x11-libs/libX11 RDEPEND="${DEPEND}" BDEPEND="" -src_install () -{ +src_install() { dobin ${PN} } diff --git a/x11-misc/colt/colt-9999.ebuild b/x11-misc/colt/colt-9999.ebuild index 8af8d39..32b8e23 100644 --- a/x11-misc/colt/colt-9999.ebuild +++ b/x11-misc/colt/colt-9999.ebuild @@ -29,7 +29,6 @@ DEPEND="x11-libs/libX11 RDEPEND="${DEPEND}" BDEPEND="" -src_install () -{ +src_install() { dobin ${PN} } diff --git a/x11-misc/devour/devour-12.ebuild b/x11-misc/devour/devour-12.ebuild index 6824382..f484c1c 100644..120000 --- a/x11-misc/devour/devour-12.ebuild +++ b/x11-misc/devour/devour-12.ebuild @@ -1,51 +1 @@ -# 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/salman-abedin/devour.git" -fi - -inherit toolchain-funcs ${SCM} - -DESCRIPTION="Window manager agnostic swallowing feature for terminal emulators" -HOMEPAGE="https://github.com/salman-abedin/devour" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/salman-abedin/devour/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="" - -DEPEND="x11-libs/libX11" -RDEPEND="${DEPEND}" -BDEPEND="" - -DOCS=(README.md) - -src_prepare() { - default - - sed -e 's/^CFLAGS =/CFLAGS +=/' \ - -e 's/ -s //g' \ - -e 's/ -O2//g' \ - -i Makefile || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" -} - -src_install() { - dobin ${PN} - einstalldocs -} +devour-9999.ebuild \ No newline at end of file diff --git a/x11-misc/focus/focus-9999.ebuild b/x11-misc/focus/focus-9999.ebuild index f105e39..40f7492 100644 --- a/x11-misc/focus/focus-9999.ebuild +++ b/x11-misc/focus/focus-9999.ebuild @@ -32,7 +32,7 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( README ) +DOCS=(README) src_prepare() { default diff --git a/x11-misc/herbe/herbe-1.0.0-r1.ebuild b/x11-misc/herbe/herbe-1.0.0-r1.ebuild index 2c0bb4a..0059e47 100644..120000 --- a/x11-misc/herbe/herbe-1.0.0-r1.ebuild +++ b/x11-misc/herbe/herbe-1.0.0-r1.ebuild @@ -1,47 +1 @@ -# 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/dudik/herbe.git" -fi - -inherit savedconfig ${SCM} - -DESCRIPTION="Daemon-less notifications without D-Bus" -HOMEPAGE="https://github.com/dudik/herbe" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/dudik/herbe/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND=" - media-libs/freetype:2 - x11-libs/libX11 - x11-libs/libXft -" -RDEPEND="${DEPEND}" -BDEPEND="" - -DOCS=( README.md ) - -src_prepare() { - restore_config config.h - default -} - -src_install() { - save_config config.h - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install - einstalldocs -} +herbe-9999.ebuild \ No newline at end of file diff --git a/x11-misc/herbe/herbe-9999.ebuild b/x11-misc/herbe/herbe-9999.ebuild index 2c0bb4a..e7d8972 100644 --- a/x11-misc/herbe/herbe-9999.ebuild +++ b/x11-misc/herbe/herbe-9999.ebuild @@ -33,7 +33,7 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( README.md ) +DOCS=(README.md) src_prepare() { restore_config config.h diff --git a/x11-misc/lemonbar/lemonbar-1.4.ebuild b/x11-misc/lemonbar/lemonbar-1.4.ebuild index ea45698..29fb72f 100644..120000 --- a/x11-misc/lemonbar/lemonbar-1.4.ebuild +++ b/x11-misc/lemonbar/lemonbar-1.4.ebuild @@ -1,36 +1 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/LemonBoy/bar.git" -fi - -DESCRIPTION="A featherweight, lemon-scented, bar based on xcb" -HOMEPAGE="https://github.com/LemonBoy/bar" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/LemonBoy/bar/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="+xft" - -DEPEND="x11-libs/libxcb - xft? ( x11-libs/libXft ) -" -RDEPEND="${DEPEND} - dev-lang/perl -" -BDEPEND="" - -if [[ ${PV} != *9999 ]]; then - S="${WORKDIR}/bar-${PV}" -fi +lemonbar-9999.ebuild \ No newline at end of file diff --git a/x11-misc/lsd/lsd-1.0.0.ebuild b/x11-misc/lsd/lsd-1.0.0.ebuild index a2ba0f8..07832d2 100644..120000 --- a/x11-misc/lsd/lsd-1.0.0.ebuild +++ b/x11-misc/lsd/lsd-1.0.0.ebuild @@ -1,53 +1 @@ -# 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/lsd.git" -fi - -inherit toolchain-funcs ${SCM} - -DESCRIPTION="List desktops" -HOMEPAGE="https://github.com/phillbush/lsd" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/phillbush/lsd/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() { - default - - sed -e '/^CPPFLAGS/d' \ - -e 's/^CFLAGS =/CFLAGS +=/g' \ - -e 's/^LDFLAGS =/LDFLAGS +=/g' \ - -i config.mk || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" -} - -src_install() { - emake install \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" - einstalldocs -} +lsd-9999.ebuild \ No newline at end of file diff --git a/x11-misc/lsd/lsd-9999.ebuild b/x11-misc/lsd/lsd-9999.ebuild index a2ba0f8..84d1934 100644 --- a/x11-misc/lsd/lsd-9999.ebuild +++ b/x11-misc/lsd/lsd-9999.ebuild @@ -29,7 +29,7 @@ DEPEND="x11-libs/libX11" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( README ) +DOCS=(README) src_prepare() { default diff --git a/x11-misc/n30f/n30f-2.0.ebuild b/x11-misc/n30f/n30f-2.0.ebuild index e0ebf45..d3c3ccd 100644..120000 --- a/x11-misc/n30f/n30f-2.0.ebuild +++ b/x11-misc/n30f/n30f-2.0.ebuild @@ -1,30 +1 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/sdhand/n30f.git" -fi - -DESCRIPTION="A quick hack to display an image in a non-wm-managed window" -HOMEPAGE="https://github.com/sdhand/n30f" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/sdhand/n30f/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="" - -DEPEND="x11-libs/cairo[X] - x11-libs/libxcb -" -RDEPEND="${DEPEND}" -BDEPEND="" +n30f-9999.ebuild \ No newline at end of file diff --git a/x11-misc/pmenu/pmenu-2.3.0.ebuild b/x11-misc/pmenu/pmenu-2.3.0.ebuild index 2408c2c..5490ebe 100644..120000 --- a/x11-misc/pmenu/pmenu-2.3.0.ebuild +++ b/x11-misc/pmenu/pmenu-2.3.0.ebuild @@ -1,61 +1 @@ -# 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/pmenu.git" -fi - -inherit toolchain-funcs ${SCM} - -DESCRIPTION="A pie-menu in Xlib and imlib2" -HOMEPAGE="https://github.com/phillbush/pmenu" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/phillbush/pmenu/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND=" - media-libs/fontconfig - media-libs/imlib2 - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXft - x11-libs/libXinerama - x11-libs/libXrender -" -RDEPEND="${DEPEND}" -BDEPEND="" - -DOCS=( README.md ) - -src_prepare() { - default - - sed -e '/^CPPFLAGS/d' \ - -e 's/^CFLAGS =/CFLAGS +=/g' \ - -e 's/^LDFLAGS =/LDFLAGS +=/g' \ - -i config.mk || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" -} - -src_install() { - emake install \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" - einstalldocs -} +pmenu-9999.ebuild \ No newline at end of file diff --git a/x11-misc/pmenu/pmenu-9999.ebuild b/x11-misc/pmenu/pmenu-9999.ebuild index 2408c2c..013a82d 100644 --- a/x11-misc/pmenu/pmenu-9999.ebuild +++ b/x11-misc/pmenu/pmenu-9999.ebuild @@ -37,7 +37,7 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( README.md ) +DOCS=(README.md) src_prepare() { default diff --git a/x11-misc/pywal/pywal-3.3.0.ebuild b/x11-misc/pywal/pywal-3.3.0.ebuild index d225c7e..270e0cd 100644..120000 --- a/x11-misc/pywal/pywal-3.3.0.ebuild +++ b/x11-misc/pywal/pywal-3.3.0.ebuild @@ -1,34 +1 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -if [[ ${PV} == *9999 ]]; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/dylanaraps/pywal.git" -fi - -inherit distutils-r1 ${SCM} - -DESCRIPTION="Generate and change color-schemes on the fly" -HOMEPAGE="https://github.com/dylanaraps/pywal" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/dylanaraps/pywal/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND} - media-gfx/imagemagick -" -BDEPEND="" +pywal-9999.ebuild \ No newline at end of file diff --git a/x11-misc/pywal/pywal-9999.ebuild b/x11-misc/pywal/pywal-9999.ebuild index d225c7e..3f62cfe 100644 --- a/x11-misc/pywal/pywal-9999.ebuild +++ b/x11-misc/pywal/pywal-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=(python3_{7,8,9}) if [[ ${PV} == *9999 ]]; then SCM="git-r3" diff --git a/x11-misc/setroot/setroot-2.0.2.ebuild b/x11-misc/setroot/setroot-2.0.2.ebuild index 5e2128e..0917719 100644..120000 --- a/x11-misc/setroot/setroot-2.0.2.ebuild +++ b/x11-misc/setroot/setroot-2.0.2.ebuild @@ -1,42 +1 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ttzhou/setroot.git" -fi - -DESCRIPTION="simple X background setter inspired by imlibsetroot and feh" -HOMEPAGE="https://github.com/ttzhou/setroot" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/ttzhou/setroot/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="xinerama" - -DEPEND="media-libs/imlib2 - x11-libs/libX11 - xinerama? ( x11-libs/libXinerama ) -" -RDEPEND="${DEPEND}" -BDEPEND="" - -DOCS=( README.asciidoc ) - -src_compile() { - emake xinerama=$(usex xinerama 1 0) -} - -src_install() { - einstalldocs - emake DESTDIR="${D}" PREFIX="/usr" install -} +setroot-9999.ebuild \ No newline at end of file diff --git a/x11-misc/setroot/setroot-9999.ebuild b/x11-misc/setroot/setroot-9999.ebuild index 5e2128e..0774713 100644 --- a/x11-misc/setroot/setroot-9999.ebuild +++ b/x11-misc/setroot/setroot-9999.ebuild @@ -30,7 +30,7 @@ DEPEND="media-libs/imlib2 RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( README.asciidoc ) +DOCS=(README.asciidoc) src_compile() { emake xinerama=$(usex xinerama 1 0) diff --git a/x11-misc/sflock/sflock-9999-r1.ebuild b/x11-misc/sflock/sflock-9999.ebuild index 5eb98f4..5eb98f4 100644 --- a/x11-misc/sflock/sflock-9999-r1.ebuild +++ b/x11-misc/sflock/sflock-9999.ebuild diff --git a/x11-misc/stw/stw-9999.ebuild b/x11-misc/stw/stw-9999.ebuild index 7fa8764..357ed5e 100644 --- a/x11-misc/stw/stw-9999.ebuild +++ b/x11-misc/stw/stw-9999.ebuild @@ -34,7 +34,7 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( README.md ) +DOCS=(README.md) src_prepare() { default diff --git a/x11-misc/sxlock/sxlock-2.0.ebuild b/x11-misc/sxlock/sxlock-2.0.ebuild index e900678..44daabf 100644..120000 --- a/x11-misc/sxlock/sxlock-2.0.ebuild +++ b/x11-misc/sxlock/sxlock-2.0.ebuild @@ -1,33 +1 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/lahwaacz/sxlock.git" -fi - -DESCRIPTION="Simple X screen locker" -HOMEPAGE="https://github.com/lahwaacz/sxlock" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/lahwaacz/sxlock/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND=" - sys-libs/pam - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXrandr -" -RDEPEND="${DEPEND}" -BDEPEND="" +sxlock-9999.ebuild \ No newline at end of file diff --git a/x11-misc/unclutter-xfixes/unclutter-xfixes-9999.ebuild b/x11-misc/unclutter-xfixes/unclutter-xfixes-9999.ebuild index 2361d16..f177103 100644 --- a/x11-misc/unclutter-xfixes/unclutter-xfixes-9999.ebuild +++ b/x11-misc/unclutter-xfixes/unclutter-xfixes-9999.ebuild @@ -11,7 +11,7 @@ fi DESCRIPTION="A rewrite of unclutter using the x11-xfixes extension" HOMEPAGE="https://github.com/Airblader/unclutter-xfixes" -if [[ ${PV} == *9999 ]]; then +if [[ ${PV} == *9999 ]]; then SRC_URI="" KEYWORDS="" else diff --git a/x11-misc/xbanish/xbanish-1.7.ebuild b/x11-misc/xbanish/xbanish-1.7.ebuild index 41cc58a..b4a6b25 100644..120000 --- a/x11-misc/xbanish/xbanish-1.7.ebuild +++ b/x11-misc/xbanish/xbanish-1.7.ebuild @@ -1,40 +1 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/jcs/xbanish.git" -fi - -DESCRIPTION="Banish the mouse cursor when typing, show it again when the mouse moves" -HOMEPAGE="https://github.com/jcs/xbanish" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/jcs/xbanish/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="" - -DEPEND=" - x11-libs/libX11 - x11-libs/libXfixes - x11-libs/libXi -" -RDEPEND="${DEPEND}" -BDEPEND="" - -DOCS=( README.md ) - -src_install() { - dobin ${PN} - doman ${PN}.1 - einstalldocs -} +xbanish-9999.ebuild \ No newline at end of file diff --git a/x11-misc/xbanish/xbanish-9999.ebuild b/x11-misc/xbanish/xbanish-9999.ebuild index 41cc58a..5881acb 100644 --- a/x11-misc/xbanish/xbanish-9999.ebuild +++ b/x11-misc/xbanish/xbanish-9999.ebuild @@ -31,7 +31,7 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( README.md ) +DOCS=(README.md) src_install() { dobin ${PN} diff --git a/x11-misc/xclickroot/xclickroot-1.3.ebuild b/x11-misc/xclickroot/xclickroot-1.3.ebuild index 40b870c..1e0d5c5 100644..120000 --- a/x11-misc/xclickroot/xclickroot-1.3.ebuild +++ b/x11-misc/xclickroot/xclickroot-1.3.ebuild @@ -1,55 +1 @@ -# 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 -} +xclickroot-9999.ebuild \ No newline at end of file diff --git a/x11-misc/xclickroot/xclickroot-9999.ebuild b/x11-misc/xclickroot/xclickroot-9999.ebuild index 40b870c..1c6e813 100644 --- a/x11-misc/xclickroot/xclickroot-9999.ebuild +++ b/x11-misc/xclickroot/xclickroot-9999.ebuild @@ -29,9 +29,7 @@ DEPEND="x11-libs/libX11" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( - README -) +DOCS=(README) src_prepare() { sed -e '/^CPPFLAGS/d' \ diff --git a/x11-misc/xclimsg/xclimsg-9999.ebuild b/x11-misc/xclimsg/xclimsg-9999.ebuild index 146760d..5d3095f 100644 --- a/x11-misc/xclimsg/xclimsg-9999.ebuild +++ b/x11-misc/xclimsg/xclimsg-9999.ebuild @@ -29,7 +29,7 @@ DEPEND="x11-libs/libX11" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( README ) +DOCS=(README) src_compile() { $(tc-getCC) -o ${PN} ${PN}.c -lX11 diff --git a/x11-misc/xecho/xecho-9999.ebuild b/x11-misc/xecho/xecho-9999.ebuild index 588092e..c6500c9 100644 --- a/x11-misc/xecho/xecho-9999.ebuild +++ b/x11-misc/xecho/xecho-9999.ebuild @@ -32,7 +32,7 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" -DOCS=( README.txt ) +DOCS=(README.txt) src_configure() { sed -e 's/^all:.*/all: xecho/' -i Makefile || die diff --git a/x11-misc/xkb-switch/xkb-switch-1.8.5.ebuild b/x11-misc/xkb-switch/xkb-switch-1.8.5.ebuild index b9c52a0..2bd897c 100644..120000 --- a/x11-misc/xkb-switch/xkb-switch-1.8.5.ebuild +++ b/x11-misc/xkb-switch/xkb-switch-1.8.5.ebuild @@ -1,41 +1 @@ -# 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/ierton/xkb-switch.git" -fi - -inherit cmake multilib ${SCM} - -DESCRIPTION="Switch your X keyboard layouts from the command line" -HOMEPAGE="https://github.com/ierton/xkb-switch" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/ierton/xkb-switch/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="" - -DEPEND=" - x11-libs/libX11 - x11-libs/libxkbfile -" -RDEPEND="${DEPEND}" -BDEPEND="" - -src_prepare() { - sed -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" \ - -i CMakeLists.txt - - cmake_src_prepare - default -} +xkb-switch-9999.ebuild \ No newline at end of file diff --git a/x11-misc/xlocatemouse/xlocatemouse-20.05.ebuild b/x11-misc/xlocatemouse/xlocatemouse-20.05.ebuild index cbd490e..c8992d8 100644..120000 --- a/x11-misc/xlocatemouse/xlocatemouse-20.05.ebuild +++ b/x11-misc/xlocatemouse/xlocatemouse-20.05.ebuild @@ -1,51 +1 @@ -# 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://www.uninformativ.de/git/xlocatemouse.git" -fi - -inherit toolchain-funcs ${SCM} - -DESCRIPTION="Find your X11 mouse pointer" -HOMEPAGE="https://www.uninformativ.de/git/xlocatemouse/file/README.html" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://www.uninformativ.de/git/xlocatemouse/archives/xlocatemouse-v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-v${PV}" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND="x11-libs/libX11" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=(CHANGES) - -src_prepare() { - default - - sed -e 's/-O2 //g' -i Makefile || die -} - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_install() { - emake install \ - DESTDIR="${D}" \ - prefix="${EPREFIX}/usr" - - einstalldocs -} +xlocatemouse-9999.ebuild \ No newline at end of file diff --git a/x11-misc/xmenu/xmenu-4.5.5.ebuild b/x11-misc/xmenu/xmenu-4.5.5.ebuild index 123102d..a95a7b2 100644..120000 --- a/x11-misc/xmenu/xmenu-4.5.5.ebuild +++ b/x11-misc/xmenu/xmenu-4.5.5.ebuild @@ -1,39 +1 @@ -# 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/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/fontconfig - 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 -} +xmenu-9999.ebuild \ No newline at end of file diff --git a/x11-misc/xnotify/xnotify-0.8.1.ebuild b/x11-misc/xnotify/xnotify-0.8.1.ebuild index b45004d..6834052 100644..120000 --- a/x11-misc/xnotify/xnotify-0.8.1.ebuild +++ b/x11-misc/xnotify/xnotify-0.8.1.ebuild @@ -1,41 +1 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/phillbush/xnotify.git" -fi - -DESCRIPTION="read notifications from stdin and display them on the screen" -HOMEPAGE="https://github.com/phillbush/xnotify" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/phillbush/xnotify/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="" - -DEPEND=" - media-libs/fontconfig - media-libs/imlib2 - x11-libs/libX11 - x11-libs/libXft - x11-libs/libXinerama -" -RDEPEND="${DEPEND}" -BDEPEND="" - -DOCS=( README.md ) - -src_install() { - emake DESTDIR="${D}" PREFIX="/usr" install - einstalldocs -} +xnotify-9999.ebuild \ No newline at end of file diff --git a/x11-misc/xob/xob-0.2.ebuild b/x11-misc/xob/xob-0.2.ebuild index 12a5b9c..2b41ac7 100644..120000 --- a/x11-misc/xob/xob-0.2.ebuild +++ b/x11-misc/xob/xob-0.2.ebuild @@ -1,42 +1 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/florentc/xob.git" -fi - -DESCRIPTION="A lightweight overlay volume (or anything) bar" -HOMEPAGE="https://github.com/florentc/xob" - -if [[ ${PV} == *9999 ]]; then - SRC_URI="" - KEYWORDS="" -else - SRC_URI="https://github.com/florentc/xob/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="" - -DEPEND=" - dev-libs/libconfig - x11-libs/libX11 -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( README.md ) - -src_install() -{ - emake install \ - DESTDIR="${D}" \ - prefix="${EPREFIX}/usr" \ - sysconfdir="${EPREFIX}/etc" - einstalldocs -} +xob-9999.ebuild \ No newline at end of file diff --git a/x11-misc/xob/xob-9999.ebuild b/x11-misc/xob/xob-9999.ebuild index 12a5b9c..754430e 100644 --- a/x11-misc/xob/xob-9999.ebuild +++ b/x11-misc/xob/xob-9999.ebuild @@ -30,10 +30,9 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" -DOCS=( README.md ) +DOCS=(README.md) -src_install() -{ +src_install() { emake install \ DESTDIR="${D}" \ prefix="${EPREFIX}/usr" \ diff --git a/x11-misc/xprompt/xprompt-2.4.0.ebuild b/x11-misc/xprompt/xprompt-2.4.0.ebuild index 8d14877..115c2b8 100644..120000 --- a/x11-misc/xprompt/xprompt-2.4.0.ebuild +++ b/x11-misc/xprompt/xprompt-2.4.0.ebuild @@ -1,37 +1 @@ -# 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/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 -} +xprompt-9999.ebuild \ No newline at end of file diff --git a/x11-misc/xurgent/xurgent-9999.ebuild b/x11-misc/xurgent/xurgent-9999.ebuild index 37956d7..90e0120 100644 --- a/x11-misc/xurgent/xurgent-9999.ebuild +++ b/x11-misc/xurgent/xurgent-9999.ebuild @@ -29,7 +29,7 @@ DEPEND="x11-libs/libX11" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( README ) +DOCS=(README) src_compile() { $(tc-getCC) -o ${PN} ${PN}.c -lX11 |