Update package version to 0.8.6

This commit is contained in:
2025-09-13 21:00:14 +03:00
parent dc15e1b4ec
commit 3710da56d2
3 changed files with 20 additions and 14 deletions
+4 -13
View File
@@ -15,24 +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 -Dgtk_doc=false -Dman=false
}
# 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 -Dgtk_doc=false -Dman=false 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/libnotify/COPYING
}