add download of the tar.gz from tag to build file of Xtrapol8

This commit is contained in:
2026-08-18 19:22:16 +02:00
parent 2d1433b9ad
commit e6d4a4b2ff
+6 -2
View File
@@ -10,8 +10,12 @@ pbuild::compile() {
:
}
pbuild::install(){
# modbuild does not fetch config.yaml urls, so download here;
# rm the tarball afterwards so it does not ship inside the module
mkdir "$PREFIX/bin"
cd "$PREFIX/bin"
tar -xf "${BUILDBLOCK_DIR}/Xtrapol8-${V_PKG}.tar.gz" --strip-components=1
cd "$PREFIX/bin"
wget -O "Xtrapol8-${V_PKG}.tar.gz" "https://github.com/ElkeDeZitter/Xtrapol8/archive/refs/tags/v.${V_PKG}.tar.gz"
tar -xf "Xtrapol8-${V_PKG}.tar.gz" --strip-components=1
rm "Xtrapol8-${V_PKG}.tar.gz"
}