1
0
mirror of synced 2024-12-23 05:10:24 +01:00
TheChymera-overlay/app-misc/ansiweather/ansiweather-1.18.0.ebuild

32 lines
617 B
Bash
Raw Normal View History

# 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"
KEYWORDS="~amd64 ~x86"
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
}