2021-11-03 03:31:34 +01:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
DESCRIPTION="Helper script for src_prepare-overlay GOG eclass that exports credentials."
|
|
|
|
HOMEPAGE="https://github.com/grepwood/lgogdownloader-export-credentials"
|
|
|
|
|
2021-11-03 11:19:48 +01:00
|
|
|
LICENSE="GPL-3"
|
2021-11-03 03:31:34 +01:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
|
|
|
|
|
|
|
SRC_URI="
|
|
|
|
https://github.com/grepwood/${PN}/archive/refs/tags/v${PV}.tar.gz
|
|
|
|
"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
app-arch/tar
|
|
|
|
app-arch/xz-utils
|
|
|
|
sys-apps/coreutils
|
|
|
|
sys-apps/sed
|
2021-11-03 03:36:48 +01:00
|
|
|
>=games-util/lgogdownloader-3.8
|
2021-11-03 11:19:48 +01:00
|
|
|
app-shells/bash:=
|
2021-11-03 03:31:34 +01:00
|
|
|
"
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
S=${WORKDIR}
|
|
|
|
|
|
|
|
src_compile() {
|
2021-11-03 11:19:48 +01:00
|
|
|
cp "${S}/${PN}-${PV}/${PN}" "${S}"
|
2021-11-03 03:31:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2021-11-03 11:19:48 +01:00
|
|
|
dobin "${PN}"
|
2021-11-03 03:31:34 +01:00
|
|
|
}
|