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