BuildSystem: Fix xbps port packaging

This commit is contained in:
2026-08-26 00:39:06 +03:00
parent 4495b81769
commit 95de7ad674
3 changed files with 10 additions and 6 deletions
+6 -1
View File
@@ -161,7 +161,7 @@ for dependency in "${DEPENDENCIES[@]}"; do
version_string="$(../get-version-string.sh)"
if [ -f "$PACKAGE_REPO/$version_string.xbps" ]; then
xbps-install \
run_xbps xbps-install \
-r "$BANAN_SYSROOT" \
-R "$PACKAGE_REPO" \
-y "$dependency" \
@@ -275,7 +275,10 @@ DESTDIR="$BANAN_SYSROOT"
pre_install
install
post_install
find "$BANAN_SYSROOT/usr/lib" -name '*.la' -delete
rm -f "$BANAN_SYSROOT/usr/share/info/dir"
grep -qsxF "$NAME-$VERSION" "$installed_file" || echo "$NAME-$VERSION" >> "$installed_file"
if (( $PACKAGE )); then
@@ -297,7 +300,9 @@ if (( $PACKAGE )); then
pre_install
install
post_install
find "$DESTDIR/usr/lib" -name '*.la' -delete
rm -f "$DESTDIR/usr/share/info/dir"
mkdir -p "$PACKAGE_REPO"
cd "$PACKAGE_REPO"
Regular → Executable
+1 -1
View File
@@ -17,7 +17,7 @@ package_standalone() {
done
find "$BANAN_SYSROOT/usr/lib" \( -type f -o -type l \) -delete
PACKAGE=1 ./build.sh || echo "$port_name" >> ../failed-shit
PACKAGE=1 ./build.sh || echo "$port_name" >> ../failed-ports
fi
popd >/dev/null