[arch-commits] Commit in meson/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Jul 6 07:17:08 UTC 2017
Date: Thursday, July 6, 2017 @ 07:17:07
Author: heftig
Revision: 299752
0.41.1+8+g1be77026-1
Modified:
meson/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-06 07:12:17 UTC (rev 299751)
+++ PKGBUILD 2017-07-06 07:17:07 UTC (rev 299752)
@@ -4,7 +4,7 @@
# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
pkgname=meson
-pkgver=0.41.1
+pkgver=0.41.1+8+g1be77026
pkgrel=1
pkgdesc='High productivity build system'
url='http://mesonbuild.com/'
@@ -11,23 +11,28 @@
arch=('any')
license=('Apache')
depends=('python' 'ninja')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'git')
checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt4' 'qt5-base' 'git' 'gnustep-base'
'cython' 'gtkmm3' 'gtest' 'gmock' 'protobuf' 'wxgtk' 'python-gobject' 'gobject-introspection'
'itstool' 'gtk3' 'valgrind' 'ldc' 'java-environment>=8' 'gtk-doc' 'llvm' 'clang' 'sdl2'
'doxygen')
-source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc})
-sha512sums=('fd0226e8cceed99a48f82bf96c71742df92091cc80001fc36d216ec043ec6e67829244838a350acd7620682e0ae65abd6ddf46561cde72ba7c03b4f49f86ecf8'
- 'SKIP')
+_commit=1be77026373469ce4d71650adbba236df031a9f4 # 0.41
+source=("git+https://github.com/mesonbuild/meson#commit=$_commit")
+sha512sums=('SKIP')
validpgpkeys=('95181F4EED14FDF4E41B518D3BF4693BFEEB9428') # Jussi Pakkanen <jpakkane at gmail.com>
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
build() {
- cd ${pkgname}-${pkgver}
+ cd $pkgname
python setup.py build
}
check() {
- cd ${pkgname}-${pkgver}
+ cd $pkgname
unset CLASSPATH # GNUstep breaks java tests
# Installing graphviz breaks doxygen tests
LC_CTYPE=en_US.UTF-8 DC=ldc ./run_tests.py
@@ -34,7 +39,7 @@
}
package() {
- cd ${pkgname}-${pkgver}
+ cd $pkgname
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm 644 syntax-highlighting/vim/ftdetect/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/ftdetect"
install -Dm 644 syntax-highlighting/vim/indent/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/indent"
More information about the arch-commits
mailing list