summary refs log tree commit diff
path: root/app-misc
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-06-25 20:19:52 +0300
committerAzat Bahawi <azahi@teknik.io>2021-06-25 20:19:52 +0300
commit7528d3496154cd0a8daf8ada7891928798a57565 (patch)
tree62ea3674f48cb378364f6721f77f768ad8299297 /app-misc
parentci: 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 'app-misc')
-rw-r--r--app-misc/afetch/afetch-9999.ebuild (renamed from app-misc/afetch/afetch-9999-r1.ebuild)4
-rw-r--r--app-misc/colors/colors-9999.ebuild2
l---------[-rw-r--r--]app-misc/pfetch/pfetch-0.6.0-r1.ebuild33
l---------[-rw-r--r--]app-misc/stag/stag-1.0.0.ebuild50
l---------[-rw-r--r--]app-misc/tty-clock/tty-clock-2.3.ebuild41
-rw-r--r--app-misc/tty-clock/tty-clock-9999.ebuild4
l---------[-rw-r--r--]app-misc/ufetch/ufetch-0.2.ebuild38
-rw-r--r--app-misc/zenbu/zenbu-9999.ebuild4
8 files changed, 9 insertions, 167 deletions
diff --git a/app-misc/afetch/afetch-9999-r1.ebuild b/app-misc/afetch/afetch-9999.ebuild
index 61e8787..ca1fc83 100644
--- a/app-misc/afetch/afetch-9999-r1.ebuild
+++ b/app-misc/afetch/afetch-9999.ebuild
@@ -29,9 +29,7 @@ DEPEND=""
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
-DOCS=(
-	README.md
-)
+DOCS=(README.md)
 
 src_prepare() {
 	sed -e 's/^CFLAGS =/CFLAGS +=/' \
diff --git a/app-misc/colors/colors-9999.ebuild b/app-misc/colors/colors-9999.ebuild
index 0783f49..5af7008 100644
--- a/app-misc/colors/colors-9999.ebuild
+++ b/app-misc/colors/colors-9999.ebuild
@@ -18,7 +18,7 @@ DEPEND="media-libs/libpng"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
-src_install () {
+src_install() {
 	dobin ${PN}
 	doman ${PN}.1
 }
diff --git a/app-misc/pfetch/pfetch-0.6.0-r1.ebuild b/app-misc/pfetch/pfetch-0.6.0-r1.ebuild
index af063ae..2652d03 100644..120000
--- a/app-misc/pfetch/pfetch-0.6.0-r1.ebuild
+++ b/app-misc/pfetch/pfetch-0.6.0-r1.ebuild
@@ -1,32 +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/dylanaraps/pfetch.git"
-fi
-
-DESCRIPTION="A pretty system information tool written in POSIX sh"
-HOMEPAGE="https://github.com/dylanaraps/pfetch"
-
-if [[ ${PV} == *9999 ]]; then
-	SRC_URI=""
-	KEYWORDS=""
-else
-	SRC_URI="https://github.com/dylanaraps/pfetch/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_install() {
-	dobin ${PN}
-}
+pfetch-9999.ebuild
\ No newline at end of file
diff --git a/app-misc/stag/stag-1.0.0.ebuild b/app-misc/stag/stag-1.0.0.ebuild
index 1a58fba..30d3420 100644..120000
--- a/app-misc/stag/stag-1.0.0.ebuild
+++ b/app-misc/stag/stag-1.0.0.ebuild
@@ -1,49 +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/seenaburns/stag.git"
-fi
-
-inherit toolchain-funcs ${SCM}
-
-DESCRIPTION="Streaming bar graphs for stats and stuff"
-HOMEPAGE="https://github.com/seenaburns/stag"
-
-if [[ ${PV} == *9999 ]]; then
-	SRC_URI=""
-	KEYWORDS=""
-else
-	SRC_URI="https://github.com/seenaburns/stag/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-
-DEPEND="sys-libs/ncurses"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_prepare() {
-	sed -e 's/^CFLAGS=/CFLAGS+=/' \
-		-e 's/-lncurses/-lncurses -ltinfo/' \
-		-i Makefile || die
-
-	default
-}
-
-src_compile() {
-	emake \
-		CC="$(tc-getCC)"
-}
-
-src_install() {
-	emake install \
-		DESTDIR="${D}" \
-		PREFIX="${EPREFIX}/usr"
-}
+stag-9999.ebuild
\ No newline at end of file
diff --git a/app-misc/tty-clock/tty-clock-2.3.ebuild b/app-misc/tty-clock/tty-clock-2.3.ebuild
index f94130e..4ed03f3 100644..120000
--- a/app-misc/tty-clock/tty-clock-2.3.ebuild
+++ b/app-misc/tty-clock/tty-clock-2.3.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/xorg62/tty-clock.git"
-fi
-
-DESCRIPTION="Clock using lib ncurses"
-HOMEPAGE="https://github.com/xorg62/tty-clock"
-
-if [[ ${PV} == *9999 ]]; then
-	SRC_URI=""
-	KEYWORDS=""
-else
-	SRC_URI="https://github.com/xorg62/tty-clock/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-
-DEPEND="sys-libs/ncurses"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-DOCS=(
-	README
-)
-
-src_install() {
-	emake install \
-		DESTDIR="${D}" \
-		PREFIX="${EPREFIX}/usr"
-
-	einstalldocs
-}
+tty-clock-9999.ebuild
\ No newline at end of file
diff --git a/app-misc/tty-clock/tty-clock-9999.ebuild b/app-misc/tty-clock/tty-clock-9999.ebuild
index f94130e..9fb9df0 100644
--- a/app-misc/tty-clock/tty-clock-9999.ebuild
+++ b/app-misc/tty-clock/tty-clock-9999.ebuild
@@ -27,9 +27,7 @@ DEPEND="sys-libs/ncurses"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-DOCS=(
-	README
-)
+DOCS=(README)
 
 src_install() {
 	emake install \
diff --git a/app-misc/ufetch/ufetch-0.2.ebuild b/app-misc/ufetch/ufetch-0.2.ebuild
index eeb3580..1513177 100644..120000
--- a/app-misc/ufetch/ufetch-0.2.ebuild
+++ b/app-misc/ufetch/ufetch-0.2.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
-	inherit git-r3
-	EGIT_REPO_URI="https://gitlab.com/jschx/ufetch.git"
-fi
-
-DESCRIPTION="Tiny system info for Unix-like operating systems"
-HOMEPAGE="https://gitlab.com/jschx/ufetch"
-
-if [[ ${PV} == *9999 ]]; then
-	SRC_URI=""
-	KEYWORDS=""
-else
-	SRC_URI="https://gitlab.com/jschx/ufetch/-/archive/v${PV}/ufetch-v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="ISC"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-if [[ ${PV} != *9999 ]]; then
-	S="${WORKDIR}/${PN}-v${PV}"
-fi
-
-src_install() {
-	exeinto /usr/bin
-	newexe ufetch-gentoo ufetch
-}
+ufetch-9999.ebuild
\ No newline at end of file
diff --git a/app-misc/zenbu/zenbu-9999.ebuild b/app-misc/zenbu/zenbu-9999.ebuild
index fefb54d..e5bd066 100644
--- a/app-misc/zenbu/zenbu-9999.ebuild
+++ b/app-misc/zenbu/zenbu-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=(python3_{7,8,9})
 
 inherit distutils-r1 git-r3
 
@@ -16,7 +16,7 @@ SLOT="0"
 KEYWORDS=""
 IUSE=""
 
-DOCS=( README.rst LICENSE example )
+DOCS=(README.rst LICENSE example)
 
 DEPEND="dev-python/argcomplete[${PYTHON_USEDEP}]
 	dev-python/colorlog[${PYTHON_USEDEP}]

Consider giving Nix/NixOS a try! <3