Update package version to 0.25.9
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user