1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
4 pkgname=(libpeas libpeas-docs)
7 pkgdesc="A GObject plugins library"
8 url="https://wiki.gnome.org/Projects/Libpeas"
12 gobject-introspection-runtime
24 checkdepends=(xorg-server-xvfb)
25 optdepends=('python-gobject: Python loader')
26 _commit=7f245fa5158204621c3469756a951b68a651c4fe # tags/libpeas-1.36.0^0
27 source=("git+https://gitlab.gnome.org/GNOME/libpeas.git#commit=$_commit")
32 git describe --tags | sed 's/^libpeas-//;s/[^-]*-g/r&/;s/-/+/g'
45 arch-meson libpeas build "${meson_options[@]}"
46 meson compile -C build
50 xvfb-run -s '-nolisten local' \
51 meson test -C build --print-errorlogs
55 provides=(libpeas{,-gtk}-1.0.so)
57 meson install -C build --destdir "$pkgdir"
59 mkdir -p doc/usr/share
60 mv {"$pkgdir",doc}/usr/share/doc
63 package_libpeas-docs() {
64 pkgdesc+=" (documentation)"
70 # vim:set sw=2 sts=-1 et: