meson 1.5.2-1
This commit is contained in:
parent
bb4f07d437
commit
a8550763b1
31
PKGBUILD
31
PKGBUILD
@ -3,9 +3,9 @@
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
# Maintainer: Futura Linux Team <future_linux@163.com>
|
||||
pkgname=meson
|
||||
pkgver=1.4.0
|
||||
pkgver=1.5.2
|
||||
pkgrel=1
|
||||
pkgdesc="High productivity build system"
|
||||
arch=('x86_64')
|
||||
@ -13,21 +13,30 @@ url="https://mesonbuild.com/"
|
||||
license=('Apache')
|
||||
depends=('ninja')
|
||||
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
|
||||
backup=(usr/share/meson/cross/x86_64-future-linux)
|
||||
source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=(8fd6630c25c27f1489a8a0392b311a60481a3c161aa699b330e25935b750138d)
|
||||
backup=(usr/share/meson/cross/meson_crossfile)
|
||||
source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz
|
||||
meson_crossfile
|
||||
future-meson)
|
||||
sha256sums=(f955e09ab0d71ef180ae85df65991d58ed8430323de7d77a37e11c9ea630910b
|
||||
f5ca8a8d831123c750ee4541a7e0d6c0c39db29a12965a1a806fbc46643bdd38
|
||||
7267f73db858411b9808c7cdce82f4967831eb50efe2c2d3dcdf6bf7adc2e992)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
python3 -m build --wheel --no-isolation
|
||||
python3 -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
python3 -m installer -d ${pkgdir} dist/*.whl
|
||||
python3 -m installer -d ${pkgdir} dist/*.whl
|
||||
|
||||
install -vDm644 data/shell-completions/bash/meson ${pkgdir}/usr/share/bash-completion/completions/meson
|
||||
install -vDm644 data/shell-completions/zsh/_meson ${pkgdir}/usr/share/zsh/site-functions/_meson
|
||||
|
||||
install -vDm644 ${srcdir}/meson_crossfile ${pkgdir}/usr/share/meson/cross/meson_crossfile
|
||||
|
||||
install -vDm755 ${srcdir}/future-meson ${pkgdir}/usr/bin/future-meson
|
||||
|
||||
install -vDm644 data/shell-completions/bash/meson ${pkgdir}/usr/share/bash-completion/completions/meson
|
||||
install -vDm644 data/shell-completions/zsh/_meson ${pkgdir}/usr/share/zsh/site-functions/_meson
|
||||
}
|
||||
|
2
future-meson
Normal file
2
future-meson
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
exec meson setup --cross-file=meson_crossfile "$@"
|
17
meson_crossfile
Normal file
17
meson_crossfile
Normal file
@ -0,0 +1,17 @@
|
||||
[binaries]
|
||||
c = 'x86_64-future-linux-gnu-gcc'
|
||||
cpp = 'x86_64-future-linux-gnu-g++'
|
||||
ar = 'x86_64-future-linux-gnu-gcc-ar'
|
||||
nm = 'x86_64-future-linux-gnu-gcc-nm'
|
||||
ranlib = 'x86_64-future-linux-gnu-gcc-ranlib'
|
||||
pkg-config = 'x86_64-future-linux-gnu-pkg-config'
|
||||
|
||||
[properties]
|
||||
needs_exe_wrapper = true
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'x86_64'
|
||||
cpu = 'x86_64'
|
||||
endian = 'little'
|
||||
|
Loading…
Reference in New Issue
Block a user