mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-misc/pfetch: add 9999
Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
@@ -5,11 +5,17 @@ EAPI=8
|
||||
|
||||
DESCRIPTION="A pretty system information tool written in POSIX sh"
|
||||
HOMEPAGE="https://github.com/Un1q32/pfetch"
|
||||
SRC_URI="https://github.com/Un1q32/pfetch/archive/${PV}/${P}.tar.gz"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Un1q32/pfetch.git"
|
||||
else
|
||||
SRC_URI="https://github.com/Un1q32/pfetch/archive/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_install() {
|
||||
emake PREFIX=/usr DESTDIR="${D}" install
|
||||
|
||||
23
app-misc/pfetch/pfetch-9999.ebuild
Normal file
23
app-misc/pfetch/pfetch-9999.ebuild
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A pretty system information tool written in POSIX sh"
|
||||
HOMEPAGE="https://github.com/Un1q32/pfetch"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Un1q32/pfetch.git"
|
||||
else
|
||||
SRC_URI="https://github.com/Un1q32/pfetch/archive/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_install() {
|
||||
emake PREFIX=/usr DESTDIR="${D}" install
|
||||
dodoc README*
|
||||
}
|
||||
Reference in New Issue
Block a user