Fix creation of binary tar packages.

Closes #223
This commit is contained in:
Andrius Štikonas 2023-01-13 01:09:57 +00:00
parent 3ffd3b96b3
commit 938d919503
3 changed files with 12 additions and 6 deletions

View file

@ -32,7 +32,4 @@ src_compile() {
src_install() {
make install PREFIX="${PREFIX}" MAKEINFO="true" DESTDIR="${DESTDIR}"
# Manually install tar (cannot replace tar while running)
cp "${DESTDIR}${PREFIX}/bin/tar" "${PREFIX}/bin/tar"
rm "${DESTDIR}${PREFIX}/bin/tar"
}