# 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://www.perforce.com/downloads/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 }