net-im/nheko: Make fetching and unpacking less hacky.

The usage of git-r3_src_unpack should cover more eventualities and
prevent future headaches. 😊
This commit is contained in:
tastytea 2021-12-30 02:27:53 +01:00
parent a2f9874f02
commit 22e1c7a065
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -59,8 +59,7 @@ BDEPEND="dev-qt/linguist-tools:5"
src_unpack() {
for repo_uri in ${EGIT_REPO_URI[@]}; do
git-r3_fetch ${repo_uri}
git-r3_checkout ${repo_uri} "${WORKDIR}/${repo_uri##*/}"
EGIT_REPO_URI="${repo_uri}" EGIT_CHECKOUT_DIR="${WORKDIR}/${repo_uri##*/}" git-r3_src_unpack
done
mv nheko.git ${P}
}