aboutsummaryrefslogtreecommitdiff
blob: 80ef1988585570917e89fb88a753b0e7a4c977d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Wego is a weather client for the terminal"
SRC_URI="https://github.com/schachmat/wego/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"
HOMEPAGE="https://github.com/schachmat/wego"
LICENSE="BSD ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"

src_compile() {
	ego build -v -x -o wego || die
}

src_install() {
	dobin wego
	dodoc README.md
}