app-misc/ufetch: Cleanup

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
This commit is contained in:
Matthias Coppens
2021-01-29 11:04:41 +01:00
parent 1a68b906cd
commit 7ca8a8af9e
3 changed files with 21 additions and 15 deletions

View File

@@ -1,25 +1,27 @@
# Copyright 1999-2020 Gentoo Authors # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
EGIT_REPO_URI="https://gitlab.com/jschx/${PN}"
case "${PV}" in case "${PV}" in
"9999") "9999")
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://gitlab.com/jschx/ufetch.git"
;; ;;
*) *)
P0="${PN}-v${PV}" P0="${PN}-v${PV}"
SRC_URI="${EGIT_REPO_URI}/-/archive/v${PV}/${P0}.tar.gz -> ${P}.tar.gz" SRC_URI="https://gitlab.com/jschx/ufetch/-/archive/v${PV}/${P0}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P0}" S="${WORKDIR}/${P0}"
KEYWORDS="~amd64 ~x86"
esac esac
DESCRIPTION="Tiny system info for Unix-like operating systems" DESCRIPTION="Tiny system info for Unix-like operating systems"
HOMEPAGE="${EGIT_REPO_URI}" HOMEPAGE="https://gitlab.com/jschx/ufetch"
LICENSE="ISC" LICENSE="ISC"
RESTRICT="mirror test"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86"
src_install() { src_install() {
exeinto /usr/bin && exeinto /usr/bin &&

View File

@@ -1,25 +1,27 @@
# Copyright 1999-2020 Gentoo Authors # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
EGIT_REPO_URI="https://gitlab.com/jschx/${PN}"
case "${PV}" in case "${PV}" in
"9999") "9999")
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://gitlab.com/jschx/ufetch.git"
;; ;;
*) *)
P0="${PN}-v${PV}" P0="${PN}-v${PV}"
SRC_URI="${EGIT_REPO_URI}/-/archive/v${PV}/${P0}.tar.gz -> ${P}.tar.gz" SRC_URI="https://gitlab.com/jschx/ufetch/-/archive/v${PV}/${P0}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P0}" S="${WORKDIR}/${P0}"
KEYWORDS="~amd64 ~x86"
esac esac
DESCRIPTION="Tiny system info for Unix-like operating systems" DESCRIPTION="Tiny system info for Unix-like operating systems"
HOMEPAGE="${EGIT_REPO_URI}" HOMEPAGE="https://gitlab.com/jschx/ufetch"
LICENSE="ISC" LICENSE="ISC"
RESTRICT="mirror test"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86"
src_install() { src_install() {
exeinto /usr/bin && exeinto /usr/bin &&

View File

@@ -1,25 +1,27 @@
# Copyright 1999-2020 Gentoo Authors # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
EGIT_REPO_URI="https://gitlab.com/jschx/${PN}"
case "${PV}" in case "${PV}" in
"9999") "9999")
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://gitlab.com/jschx/ufetch.git"
;; ;;
*) *)
P0="${PN}-v${PV}" P0="${PN}-v${PV}"
SRC_URI="${EGIT_REPO_URI}/-/archive/v${PV}/${P0}.tar.gz -> ${P}.tar.gz" SRC_URI="https://gitlab.com/jschx/ufetch/-/archive/v${PV}/${P0}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P0}" S="${WORKDIR}/${P0}"
KEYWORDS="~amd64 ~x86"
esac esac
DESCRIPTION="Tiny system info for Unix-like operating systems" DESCRIPTION="Tiny system info for Unix-like operating systems"
HOMEPAGE="${EGIT_REPO_URI}" HOMEPAGE="https://gitlab.com/jschx/ufetch"
LICENSE="ISC" LICENSE="ISC"
RESTRICT="mirror test"
SLOT="0" SLOT="0"
KEYWORDS=""
src_install() { src_install() {
exeinto /usr/bin && exeinto /usr/bin &&