Update package version to 0.25.9

This commit is contained in:
2025-09-19 14:13:48 +03:00
parent 91af487845
commit 72fe9f0462
3 changed files with 16 additions and 19 deletions
+4 -15
View File
@@ -15,31 +15,20 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
mkdir p11-build
cd p11-build
meson setup .. \
--prefix=/usr \
--libdir=/usr/lib \
--buildtype=release \
-Dtrust_paths=/etc/pki/anchors
meson compile
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dtrust_paths=/etc/pki/anchors build
meson compile -C build
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
cd p11-build
LC=ALL=C meson test
meson test -C build --print-errorlogs
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
cd p11-build
meson install --destdir="$BPM_OUTPUT"
meson install -C build --destdir="$BPM_OUTPUT"
# Make symbolic link
ln -sfv /usr/libexec/p11-kit/trust-extract-compat "$BPM_OUTPUT"/usr/bin/update-ca-certificates