summaryrefslogtreecommitdiff
path: root/net-misc/gemget/gemget-1.9.0-r1.ebuild
blob: 0fa87b283149f19a9d7cd829e65b67b230dab788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Command line downloader for the Gemini protocol"
HOMEPAGE="https://github.com/makew0rld/gemget"

SRC_URI="https://github.com/makew0rld/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"

LICENSE="0BSD BSD MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

src_compile() {
	ego build -o ${PN} -ldflags="-w" || die
}

src_install() {
	dobin ${PN}
	dodoc README.md
}