4d8a5a9f04
This reverts commit 6b8bf86f64
.
0.52.0 did break gnome-builder https://gitlab.gnome.org/GNOME/gnome-builder/issues/1057
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'meson'
|
|
pkgname=meson
|
|
reverts="0.52.0_1 0.52.0_2"
|
|
version=0.51.2
|
|
revision=2
|
|
archs=noarch
|
|
build_style=python3-module
|
|
pycompile_module="mesonbuild"
|
|
hostmakedepends="python3-devel python3-setuptools"
|
|
depends="ninja python3-setuptools"
|
|
checkdepends="glib-devel gobject-introspection libsanitizer-devel ninja
|
|
pkg-config vala python-devel"
|
|
short_desc="Super fast build system"
|
|
maintainer="Dylan Katz <muddmaker.97@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://mesonbuild.com"
|
|
changelog="https://raw.githubusercontent.com/mesonbuild/meson/master/docs/markdown/Release-notes-for-${version%.?}.0.md"
|
|
distfiles="https://github.com/mesonbuild/meson/archive/${version}.tar.gz"
|
|
checksum=96871cf62c9cf2b212e2f38aa3e543323403b1314fd3835e14120ef837c00f01
|
|
|
|
do_check() {
|
|
# meson depends on trillion of things to perform actual tests
|
|
# see checkdepends=() on arch
|
|
# 3 tests still fails
|
|
./run_unittests.py
|
|
}
|
|
|
|
post_install() {
|
|
vmkdir usr/share/vim/vimfiles
|
|
cp -rt ${DESTDIR}/usr/share/vim/vimfiles data/syntax-highlighting/vim/*/
|
|
|
|
vinstall data/syntax-highlighting/emacs/meson.el 644 usr/share/emacs/site-lisp
|
|
vinstall data/shell-completions/zsh/_meson 644 usr/share/zsh/site-functions
|
|
}
|