net-misc/baidupcs-go-bin - 3.9.9 (benzene-overlay)

Search

Package Information

Description:
The terminal utility for Baidu Network Disk (Golang Version).
Homepage:
https://github.com/qjfoidnh/BaiduPCS-Go
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
3.9.9 8 -* ~amd64 ~arm ~arm64 0
View Raw Ebuild
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="BaiduPCS-Go"
MY_P="${MY_PN}-v${PV}"

DESCRIPTION="The terminal utility for Baidu Network Disk (Golang Version)."
HOMEPAGE="https://github.com/qjfoidnh/BaiduPCS-Go"
SRC_URI="
	amd64? ( https://github.com/qjfoidnh/${MY_PN}/releases/download/v${PV}/${MY_P}-linux-amd64.zip )
	arm64? ( https://github.com/qjfoidnh/${MY_PN}/releases/download/v${PV}/${MY_P}-linux-arm64.zip )
	arm? ( https://github.com/qjfoidnh/${MY_PN}/releases/download/v${PV}/${MY_P}-linux-arm.zip )
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm ~arm64"

DEPEND=""
RDEPEND="${DEPEND}
	!net-misc/baidupcs-go
"
BDEPEND="app-arch/unzip"

S="${WORKDIR}/${MY_P}-linux-${ARCH/x86/386}"

QA_PREBUILT="usr/bin/${PN%-bin}"

src_install() {
	default
	newbin ${MY_PN} ${PN%-bin}
}

Dependencies

RDEPEND

	!net-misc/baidupcs-go

BDEPEND

app-arch/unzip

Manifest for 3.9.9

Type File Size Source URLs
DIST BaiduPCS-Go-v3.9.9-linux-amd64.zip 4887847 bytes https://github.com/qjfoidnh/BaiduPCS-Go/releases/download/v3.9.9/BaiduPCS-Go-v3.9.9-linux-amd64.zip
DIST BaiduPCS-Go-v3.9.9-linux-arm.zip 4531536 bytes https://github.com/qjfoidnh/BaiduPCS-Go/releases/download/v3.9.9/BaiduPCS-Go-v3.9.9-linux-arm.zip
DIST BaiduPCS-Go-v3.9.9-linux-arm64.zip 4465444 bytes https://github.com/qjfoidnh/BaiduPCS-Go/releases/download/v3.9.9/BaiduPCS-Go-v3.9.9-linux-arm64.zip