Update package version to 12.5

This commit is contained in:
2025-09-17 14:38:07 +03:00
parent 603d198dac
commit 4b15f28b7b
3 changed files with 18 additions and 16 deletions
+4 -14
View File
@@ -15,28 +15,18 @@ 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 -Dopengl=true ..
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 -Dopengl=true -Dwith_docs=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 default configuraiton
install -Dm644 "$BPM_SOURCE"/picom.sample.conf "$BPM_OUTPUT"/etc/xdg/picom.conf
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSES/* -t "$BPM_OUTPUT"/usr/share/licenses/picom/
}