1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Objects and methods for reading and writing AppStream metadata"
8 url="https://people.freedesktop.org/~hughsient/appstream-glib/"
29 conflicts=(appdata-tools)
30 replaces=(appdata-tools)
31 _commit=02c8ad3b66075d9b2c9094dff816cd44839a4b45 # tags/appstream_glib_0_8_2^0
32 source=("git+https://github.com/hughsie/appstream-glib#commit=$_commit")
37 git describe --tags | sed 's/^appstream_glib_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
51 arch-meson $pkgname build "${meson_options[@]}"
52 meson compile -C build
56 meson test -C build --print-errorlogs
60 meson install -C build --destdir "$pkgdir"
63 # vim:set sw=2 sts=-1 et: