Update package version to 1.8.0
This commit is contained in:
@@ -15,13 +15,18 @@ prepare() {
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
|
||||
python3 -m build --wheel --no-isolation .
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
pip3 install --root="$BPM_OUTPUT" --ignore-installed --no-index --find-links dist meson
|
||||
install -vDm644 data/shell-completions/bash/meson "$BPM_OUTPUT"/usr/share/bash-completion/completions/meson
|
||||
install -vDm644 data/shell-completions/zsh/_meson "$BPM_OUTPUT"/usr/share/zsh/site-functions/_meson
|
||||
python3 -m installer --destdir "$BPM_OUTPUT" --prefix=/usr dist/*.whl
|
||||
|
||||
# Install shell completions
|
||||
install -Dm644 data/shell-completions/bash/meson "$BPM_OUTPUT"/usr/share/bash-completion/completions/meson
|
||||
install -Dm644 data/shell-completions/zsh/_meson "$BPM_OUTPUT"/usr/share/zsh/site-functions/_meson
|
||||
|
||||
# Install package license
|
||||
install -Dm644 COPYING "$BPM_OUTPUT"/usr/share/licenses/meson/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user