Avoid deleting sources that will be needed in future builds

This commit is contained in:
Eduardo Sánchez Muñoz 2023-12-21 17:24:33 +01:00
parent 9179f4bd01
commit 9042539165
4 changed files with 44 additions and 23 deletions

View file

@ -6,14 +6,6 @@
# XXX: Fix package after builder-hex0
src_unpack() {
# Remove all previous source tarballs
mkdir /tmp/keep
for keep in deblob-4.9 ${pkg}.tar.gz musl-1.2.4.tar.gz curl-7.88.1.tar.bz2; do
mv "${DISTFILES}/${keep}" /tmp/keep
done
rm -r "${DISTFILES}/"*
mv /tmp/keep/* "${DISTFILES}"
mkdir "${pkg}"
mv "${DISTFILES}/deblob-4.9" "${pkg}/"
default || true # Predictable link errors - not a problem