summaryrefslogtreecommitdiff
path: root/gui-apps/vicuna/vicuna-1.25.ebuild
blob: ffde4acb245d32fb58e02ad0d24e394278124ea8 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Tool for uploading files to Wikimedia Commons and other Wikimedia projects"
HOMEPAGE="https://commons.wikimedia.org/wiki/Commons:Vicu%C3%B1aUploader"
SRC_URI="https://github.com/yarl/${PN}/releases/download/${PV}/${P}.tar"

S="${WORKDIR}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	virtual/jre
"

src_install() {
	local apphome="/opt/${PN}"
	mkdir -p "${ED}/${apphome}"

	cp -r . "${ED}"/opt || die

	dosym ${apphome}/bin/vicuna /usr/bin/vicuna
}