1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="A GObject library to create cabinet files"
8 url="https://wiki.gnome.org/msitools"
12 makedepends=(gobject-introspection vala git gtk-doc meson)
13 provides=(libgcab-1.0.so)
14 _commit=d8054af4381dcef17ae691775c96a60116823047 # tags/v1.5^0
15 source=("git+https://gitlab.gnome.org/GNOME/gcab.git#commit=$_commit")
20 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
29 meson compile -C build
33 meson test -C build --print-errorlogs
37 meson install -C build --destdir "$pkgdir"