[arch-commits] Commit in meson/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Dec 26 09:50:42 UTC 2016
Date: Monday, December 26, 2016 @ 09:50:41
Author: foutrelis
Revision: 202655
archrelease: copy trunk to community-staging-any
Added:
meson/repos/community-staging-any/
meson/repos/community-staging-any/PKGBUILD
(from rev 202654, meson/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: meson/repos/community-staging-any/PKGBUILD (from rev 202654, meson/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2016-12-26 09:50:41 UTC (rev 202655)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
+
+pkgname=meson
+pkgver=0.37.1
+pkgrel=2
+pkgdesc='High productivity build system'
+url='http://mesonbuild.com/'
+arch=('any')
+license=('Apache')
+depends=('python' 'ninja')
+makedepends=('python-setuptools')
+checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt5-base' 'git' 'gnustep-base'
+ 'cython' 'gtkmm3' 'gtest' 'gmock' 'protobuf' 'wxgtk' 'python-gobject' 'gobject-introspection'
+ 'itstool' 'gtk3')
+source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc})
+sha512sums=('21f2f2eb24ee844b0541f74d787f2fb317d9a9903a1a0226045373efa7cbee841b2d6a9bf1681dfb570e78b41449a2a9920737dec9566608ce0a09ed5c8e0e85'
+ 'SKIP')
+validpgpkeys=('95181F4EED14FDF4E41B518D3BF4693BFEEB9428') # Jussi Pakkanen <jpakkane at gmail.com>
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed 's|cython3|cython|g' -i 'test cases/python3/3 cython/meson.build'
+ sed -r 's|^set |setlocal |g' -i syntax-highlighting/vim/*/meson.vim
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ MESON_PRINT_TEST_OUTPUT=1 LC_CTYPE=en_US.UTF-8 ./run_tests.py
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ python setup.py install --root="${pkgdir}" -O1
+ install -Dm 644 syntax-highlighting/vim/ftdetect/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/ftdetect"
+ install -Dm 644 syntax-highlighting/vim/plugin/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/indent"
+ install -Dm 644 syntax-highlighting/vim/syntax/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/syntax"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list