Update package version to 1.57.0

This commit is contained in:
2025-09-19 16:11:39 +03:00
parent a7b0400216
commit c7f1168ae1
3 changed files with 20 additions and 15 deletions
+4 -14
View File
@@ -15,25 +15,15 @@ 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 --wrap-mode=nofallback -Dintrospection=enabled ..
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() {
cd build
ninja test
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release --wrap-mode=nofallback -Dintrospection=enabled build
meson compile -C build
}
# 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 package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/pango/COPYING
}