diff options
Diffstat (limited to 'dev-vcs/p4/p4-2024.1.2661979.ebuild')
-rw-r--r-- | dev-vcs/p4/p4-2024.1.2661979.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-vcs/p4/p4-2024.1.2661979.ebuild b/dev-vcs/p4/p4-2024.1.2661979.ebuild new file mode 100644 index 0000000..f9b959b --- /dev/null +++ b/dev-vcs/p4/p4-2024.1.2661979.ebuild @@ -0,0 +1,28 @@ +# 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 ) + arm64? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26aarch64/p4 -> ${P}-arm64 ) +" +S="${WORKDIR}" +LICENSE="Perforce" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" +IUSE="" +RESTRICT="mirror strip bindist" + +src_unpack() { + cp "${DISTDIR}/${A}" p4 || die +} + +src_install() { + dobin p4 +} |