Update package version to 4.24

This commit is contained in:
2025-09-17 10:20:38 +03:00
parent 346a67eadf
commit 1604ca25d3
3 changed files with 16 additions and 10 deletions
+5 -8
View File
@@ -15,18 +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 ..
ninja
meson setup --prefix=/usr -Ddocs=true -Dmans=true 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 -Dm644 ../LICENSE "$BPM_OUTPUT"/usr/share/licenses/i3/LICENSE
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/i3/LICENSE
}