net-im/nheko: Make fetching and unpacking less hacky.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
The usage of git-r3_src_unpack should cover more eventualities and
prevent future headaches. 😊
This commit is contained in:
parent
a2f9874f02
commit
22e1c7a065
|
@ -59,8 +59,7 @@ BDEPEND="dev-qt/linguist-tools:5"
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
for repo_uri in ${EGIT_REPO_URI[@]}; do
|
for repo_uri in ${EGIT_REPO_URI[@]}; do
|
||||||
git-r3_fetch ${repo_uri}
|
EGIT_REPO_URI="${repo_uri}" EGIT_CHECKOUT_DIR="${WORKDIR}/${repo_uri##*/}" git-r3_src_unpack
|
||||||
git-r3_checkout ${repo_uri} "${WORKDIR}/${repo_uri##*/}"
|
|
||||||
done
|
done
|
||||||
mv nheko.git ${P}
|
mv nheko.git ${P}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user