1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Maintainer: 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/"
11 depends=(gtk3 libyaml pacman gcab libsoup libstemmer)
12 makedepends=(gobject-introspection gtk-doc git gperf meson)
13 provides=(appdata-tools libappstream-glib.so)
14 conflicts=(appdata-tools)
15 replaces=(appdata-tools)
16 _commit=705e8e2061e9c9ef741792b1de56c6529fb57082 # tags/appstream_glib_0_7_18^0
17 source=("git+https://github.com/hughsie/appstream-glib#commit=$_commit")
22 git describe --tags | sed 's/^appstream_glib_//;s/_/./g;s/-/+/g'
30 arch-meson $pkgname build \
34 meson compile -C build
38 meson test -C build --print-errorlogs
42 DESTDIR="$pkgdir" meson install -C build