2022-05-05 02:27:52 -04:00
|
|
|
# Copyright 2022 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
DESCRIPTION="Weather in terminal, with ANSI colors and Unicode symbols"
|
|
|
|
HOMEPAGE="https://github.com/fcambus/ansiweather"
|
|
|
|
SRC_URI="https://github.com/fcambus/ansiweather/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="BSD-2"
|
|
|
|
SLOT="0"
|
2022-08-31 16:20:36 -04:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2022-05-05 02:27:52 -04:00
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="
|
|
|
|
app-misc/jq
|
|
|
|
sys-devel/bc
|
|
|
|
"
|
|
|
|
BDEPEND=""
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dobin "${PN}"
|
|
|
|
|
|
|
|
doman "${PN}.1"
|
|
|
|
|
|
|
|
einstalldocs
|
|
|
|
dodoc 'ansiweatherrc.example'
|
|
|
|
|
|
|
|
insinto /usr/share/zsh/site-functions
|
|
|
|
newins ansiweather.plugin.zsh -ansiweather
|
|
|
|
}
|