diff options
author | Azat Bahawi <azahi@teknik.io> | 2020-08-12 15:03:22 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2020-08-12 15:03:22 +0300 |
commit | 0647e9d0a1cd30eec4758bbb5e752a175fcf9631 (patch) | |
tree | 52f6a65c19633790280780645e5abbc0615f426a /app-misc/pfetch | |
parent | Deprecate EAPI 5 and 6 (diff) |
app-misc/pfetch: Add live
Diffstat (limited to 'app-misc/pfetch')
-rw-r--r-- | app-misc/pfetch/Manifest | 3 | ||||
-rw-r--r-- | app-misc/pfetch/pfetch-0.6.0-r1.ebuild (renamed from app-misc/pfetch/pfetch-0.6.0.ebuild) | 17 | ||||
-rw-r--r-- | app-misc/pfetch/pfetch-9999.ebuild | 32 |
3 files changed, 47 insertions, 5 deletions
diff --git a/app-misc/pfetch/Manifest b/app-misc/pfetch/Manifest index 96f3ed8..de3d5b9 100644 --- a/app-misc/pfetch/Manifest +++ b/app-misc/pfetch/Manifest @@ -1,2 +1 @@ -DIST 0.6.0.tar.gz 17431 BLAKE2B 300f6f44f9306df4f438227a6f35bd54f50e477b950a45d63656f7c460cfc30a8b44ebdb3d5fdcf1e808e3b8e8e69e14088ff73a5da4485abf694893f2cc53f3 SHA512 868901bec6ae8999ad40fcb94bdf804969a3dfd724dc554d62f59982daf48d359094764b2e45d4816983d4f46e38de30f0bcb646ecd95bf3263ba128b87a1ddf -EBUILD pfetch-0.6.0.ebuild 422 BLAKE2B 694170831d55e15ffe873cf4afcd99973198e1631e2c15f9bf176ad013cba03f74d7c7430dd2b2bc251ef8c2cc3c736b7b143af531b656d09e6377fe69ff62c1 SHA512 95edd353c0a159616f2099263062235f00965541660e903e326c53aabeb8b1eddb29ddf78c890656e8176a9e80bd9643d5dc921f787a092d5da538491980cd1c +DIST pfetch-0.6.0.tar.gz 17431 BLAKE2B 300f6f44f9306df4f438227a6f35bd54f50e477b950a45d63656f7c460cfc30a8b44ebdb3d5fdcf1e808e3b8e8e69e14088ff73a5da4485abf694893f2cc53f3 SHA512 868901bec6ae8999ad40fcb94bdf804969a3dfd724dc554d62f59982daf48d359094764b2e45d4816983d4f46e38de30f0bcb646ecd95bf3263ba128b87a1ddf diff --git a/app-misc/pfetch/pfetch-0.6.0.ebuild b/app-misc/pfetch/pfetch-0.6.0-r1.ebuild index 87fa361..7b0623f 100644 --- a/app-misc/pfetch/pfetch-0.6.0.ebuild +++ b/app-misc/pfetch/pfetch-0.6.0-r1.ebuild @@ -3,13 +3,24 @@ 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" -SRC_URI="https://github.com/dylanaraps/pfetch/archive/${PV}.tar.gz" + +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" -KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" @@ -17,5 +28,5 @@ RDEPEND="${DEPEND}" BDEPEND="" src_install() { - dobin pfetch + dobin ${PN} } diff --git a/app-misc/pfetch/pfetch-9999.ebuild b/app-misc/pfetch/pfetch-9999.ebuild new file mode 100644 index 0000000..7b0623f --- /dev/null +++ b/app-misc/pfetch/pfetch-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020 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} +} |