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)
15 _commit=d8054af4381dcef17ae691775c96a60116823047 # tags/v1.5^0
16 source=("git+https://gitlab.gnome.org/GNOME/gcab.git#commit=$_commit")
21 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
30 meson compile -C build
34 meson test -C build --print-errorlogs
38 meson install -C build --destdir "$pkgdir"