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)
19 _commit=c922bdce3df8d4aa3afd488b584b70d614cc8ba4 # tags/0.54.4^0
20 source=("git+https://gitlab.gnome.org/GNOME/vala.git#commit=$_commit")
25 git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
30 NOCONFIGURE=1 ./autogen.sh
35 ./configure --prefix=/usr
36 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
47 make DESTDIR="$pkgdir" install