Commit dce3531d authored by John Johnson's avatar John Johnson

net-vpn:torguard fixed install failures

src_install() is finally fixed by using `doins .`, rather than
`cp -r ${S} ${D}`.  Previously, it was not possible to install correctly
because the top-level directory of the source archive was being copied to
the ${ROOT} rather than just its contents.  Using wildard characters proved
fatal due to filenames that include "." in their names; specifically,
The `doins` takes into account that we are in the source directory.
parent 0713e8d2
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
......@@ -12,7 +12,8 @@ SRC_URI="
KEYWORDS="~amd64 ~x86"
# KEYWORDS="~amd64 ~x86"
......@@ -38,10 +39,7 @@ src_unpack() {
src_install() {
# cp -Rv "${S}/${PN}-v${PV}-amd64-arch/" "${D}/" || die "Install failed"
# cp -Rv "${S}/" "${DESTDIR%/}" || die "Install failed"
# cp -rv "${S}/" "${D}/" || die "Install failed"
cp -rv "${S}/" "${D}/" || die "Install failed"
doins -r .
# fperms 0644 "${S}/${PN}-v${PV}-amd64-arch/"
# fperms 0755 "${D}/opt/${PN}/"
# fperms 0644 "${D}/"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment