Update package version to 1.8.3

This commit is contained in:
2025-09-17 21:55:37 +03:00
parent b54a8553aa
commit 79d4ad58bb
3 changed files with 22 additions and 1 deletions
+8
View File
@@ -10,12 +10,19 @@ FILENAME="${DOWNLOAD##*/}"
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
# Fix GCC 15 error
sed -i '/func.s/s/s//' tests/Gtest-nomalloc.c
autoreconf -fi
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
./configure --prefix=/usr --disable-static
# prevent excessive overlinking due to libtool
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
@@ -30,5 +37,6 @@ check() {
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 COPYING "$BPM_OUTPUT"/usr/share/licenses/libunwind/COPYING
}