blob: 57773de3ce391f2a69676ed9dd3e4ef24dfa234b (
plain) (
blame)
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-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
REL="$(ver_cut 1-2)"
SHORTREL="${REL:2}"
DESCRIPTION="Command-line client for the Perforce VCS"
HOMEPAGE="https://www.perforce.com/"
SRC_URI="
amd64? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86_64/p4 -> ${P}-amd64 )
"
S="${WORKDIR}"
LICENSE="Perforce"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE=""
RESTRICT="mirror strip bindist"
src_unpack() {
cp "${DISTDIR}/${A}" p4 || die
}
src_install() {
dobin p4
}
|