Update package version to 12.5
This commit is contained in:
@@ -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/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user