cd /etc/portage
mkdir -p 3rd-party
cd 3rd-party
git clone https://github.com/gentoo-perl/perl-testing-profiles
cd /etc/portage
mkdir profile
cd profile
for i in package.{accept_keywords,mask,unmask,provided,use}; do
(
mkdir -p "${i}" && \
cd "${i}" && \
cp -s -t . ../../3rd-party/perl-testing-profiles/5.26.9999/profile/"${i}"/*
)
done
cd ..
for i in env package.env; do
(
mkdir -p "${i}" && \
cd "${i}" && \
cp -s -t . ../3rd-party/perl-testing-profiles/5.26.9999/"${i}"/*
)
done