summaryrefslogtreecommitdiff
path: root/media-video/ytarchive/ytarchive-0.4.0.ebuild
blob: 02fc766acb60c801f8a7479523288039203a33f7 (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
26
27
28
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Youtube livestream downloader"
HOMEPAGE="https://github.com/Kethsar/ytarchive"
SRC_URI="
	https://github.com/Kethsar/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://files.asokolov.org/gentoo/${P}-vendor.tar.xz
"

LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="media-video/ffmpeg"

src_compile() {
	ego build
}

src_install() {
	dobin ytarchive
	einstalldocs
}