mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 18:04:38 +08:00
49 lines
1.9 KiB
Bash
49 lines
1.9 KiB
Bash
pkgname=meson
|
|
pkgver=0.44.0
|
|
pkgrel=1
|
|
pkgdesc='High productivity build system'
|
|
url='http://mesonbuild.com/'
|
|
arch=('any')
|
|
license=('Apache')
|
|
depends=('python3' 'ninja')
|
|
makedepends=('python3-setuptools')
|
|
checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt5-base' 'git'
|
|
'python3-cython' 'gtest' 'gmock' 'protobuf' 'python3-gobject' 'gobject-introspection'
|
|
'itstool' 'valgrind' 'sdl2' 'doxygen' 'llvm' 'clang' 'gnustep-base' 'gtk-doc' 'gtk3' 'vulkan-validation-layers'
|
|
'openmpi' 'openssh' 'mercurial')
|
|
source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc}
|
|
chakra-meson)
|
|
sha512sums=('9aefa52d92d7750528e9a9236f19131c8e58bfc21212595c311f4e2787ad40bb53d6085f52283cad13923ddf12da1a59067d48424c72ace47fc127978d1af2ff'
|
|
'SKIP'
|
|
'a4398dcd70bf8ad983f80f666b07c2122029a69d385ea10e411a6f31fb5ac77b7f6f3910ca35baebf6f577e82baab3cc38fb53afbe0be6fe4da74cedfb8eaecd')
|
|
validpgpkeys=('95181F4EED14FDF4E41B518D3BF4693BFEEB9428') # Jussi Pakkanen <jpakkane@gmail.com>
|
|
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
python3 setup.py build
|
|
}
|
|
|
|
#check() {
|
|
# cd ${pkgname}-${pkgver}
|
|
# unset CLASSPATH # GNUstep breaks java tests
|
|
# # export MESON_PRINT_TEST_OUTPUT=1 # set this for debug output
|
|
# # Installing graphviz breaks doxygen tests
|
|
# LC_CTYPE=en_US.UTF-8 DC=ldc ./run_tests.py
|
|
#}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
python3 setup.py install --root="${pkgdir}" -O1
|
|
|
|
for _f in data/syntax-highlighting/vim/*/*; do
|
|
install -Dt "${pkgdir}/usr/share/vim/vimfiles/$(basename "$(dirname "$_f")")" -m644 "$_f"
|
|
done
|
|
install -Dt "${pkgdir}/usr/share/emacs/site-lisp" -m644 data/syntax-highlighting/emacs/*
|
|
install -Dt "${pkgdir}/usr/share/zsh/site-functions" -m644 data/shell-completions/zsh/*
|
|
|
|
# Chakra packaging helper
|
|
install -D ../chakra-meson -t "${pkgdir}/usr/bin"
|
|
}
|
|
|