1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 # Contributor: Timm Preetz <timm@preetz.us>
9 pkgdesc='Compiler for the GObject type system'
10 url='https://wiki.gnome.org/Projects/Vala'
13 depends=(glib2 gtk-doc graphviz ttf-font pkg-config gcc)
14 makedepends=(libxslt vala git help2man autoconf-archive)
15 checkdepends=(dbus libx11 gobject-introspection)
16 provides=(valadoc libvala-${pkgver%.*}.so libvaladoc-${pkgver%.*}.so)
20 _commit=051552f34cfa1f4c08220043683289952f9ffd62 # tags/0.56.3^0
21 source=("git+https://gitlab.gnome.org/GNOME/vala.git#commit=$_commit")
26 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
31 NOCONFIGURE=1 ./autogen.sh
36 ./configure --prefix=/usr
37 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
48 make DESTDIR="$pkgdir" install