diff options
author | 1024x2 | 2024-05-06 15:17:26 +0100 |
---|---|---|
committer | 1024x2 | 2024-05-06 15:17:26 +0100 |
commit | 45b17ed7c245691c4fb565036e3055a6469e25ec (patch) | |
tree | f4084521481739c4f70fcaf50413546a0b5a0850 /dev-vcs/p4v/p4v-2023.2.2467475.ebuild |
Initial commit
Diffstat (limited to 'dev-vcs/p4v/p4v-2023.2.2467475.ebuild')
-rw-r--r-- | dev-vcs/p4v/p4v-2023.2.2467475.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-vcs/p4v/p4v-2023.2.2467475.ebuild b/dev-vcs/p4v/p4v-2023.2.2467475.ebuild new file mode 100644 index 0000000..2203dc7 --- /dev/null +++ b/dev-vcs/p4v/p4v-2023.2.2467475.ebuild @@ -0,0 +1,32 @@ +# 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="Visual client for the Perforce VCS" +HOMEPAGE="https://www.perforce.com/" +SRC_URI=" + amd64? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86_64/p4v.tgz -> ${P}-amd64.tgz ) +" +#S="${WORKDIR}/${P}" +LICENSE="Perforce-P4V" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="" +RESTRICT="mirror strip bindist" + +RDEPEND="dev-vcs/p4" +DEPEND="" + +src_install() { + dodir /opt + cp -R "${S}" "${D}/opt/p4v" || die "Install failed!" + + dodir /usr/bin + for i in p4admin p4merge p4v p4vc; do + dosym ../../opt/p4v/bin/"$i" /usr/bin/"$i" + done +} |