mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
28 lines
590 B
Bash
28 lines
590 B
Bash
# 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
|
|
}
|