gzdoom: use bsdtar instead of ar

since ar p/x is prone to freezing at least on some musl targets,
just use equivalent bsdtar; the ar issue needs figuring out...
This commit is contained in:
q66 2020-11-23 16:19:00 +01:00
parent 18f0db4060
commit 9054c81688

View file

@ -30,7 +30,7 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_extract() {
ar -p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}_amd64.deb data.tar.xz |
bsdtar xOf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}_amd64.deb data.tar.xz |
tar --strip-components=4 -xJf - ./usr/share/{pixmaps/gzdoom.png,applications/gzdoom.desktop}
vsed -e "s|GIT_DESCRIPTION|\"${version}\"|g" -i src/gitinfo.cpp