1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Andreas Radke <andyrtr@archlinux.org>
3 # Contributor: Michael Kanis <mkanis@gmx.de>
8 pkgdesc="Map widget for GTK 3"
9 url="https://wiki.gnome.org/Projects/libchamplain"
12 depends=(clutter-gtk libsoup3 cairo sqlite)
13 makedepends=(gobject-introspection gtk-doc vala meson git)
14 _commit=941560af497148588783db991e8135f52a82574d # tags/0.12.21^0
15 source=("git+https://gitlab.gnome.org/GNOME/libchamplain.git#commit=$_commit")
20 git describe --tags | sed 's/^LIBCHAMPLAIN_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
28 arch-meson $pkgname build -D gtk_doc=true
29 meson compile -C build
33 meson test -C build --print-errorlogs
37 meson install -C build --destdir "$pkgdir"
40 # vim:set sw=2 sts=-1 et: