Update package version to 1.86.0

This commit is contained in:
2025-09-15 13:06:31 +03:00
parent ca627a3d0e
commit 19890f453d
3 changed files with 22 additions and 8 deletions
+8 -6
View File
@@ -15,18 +15,20 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
mkdir build
cd build
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dtests=false build
meson compile -C build
}
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dtests=false ..
ninja
# 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() {
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 build
DESTDIR="$BPM_OUTPUT" ninja install
meson install -C build --destdir="$BPM_OUTPUT"
install -Dm644 "$BPM_SOURCE"/COPYING.GPL "$BPM_OUTPUT"/usr/share/licenses/gobject-introspection/COPYING.GPL
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gobject-introspection/COPYING