# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xdg-dbus-proxy
pkgver=0.1.6
pkgrel=0
pkgdesc="Filtering proxy for D-Bus connections"
url="https://github.com/flatpak/xdg-dbus-proxy/"
arch="all"
license="LGPL-2.1-or-later"
depends="dbus"
makedepends="glib-dev docbook-xsl libxslt meson"
subpackages="$pkgname-doc"
source="https://github.com/flatpak/xdg-dbus-proxy/releases/download/$pkgver/xdg-dbus-proxy-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild -C output
}

package() {
	DESTDIR="$pkgdir" meson install -C output
}

sha512sums="
9aeb3c00c8507b583954ba928171d7b373159a614eb9df15a4352d4b929d0c76d836b522cdc031e2f38a076ab5ec363441208e403a899aa9f0e58d703791ed2d  xdg-dbus-proxy-0.1.6.tar.xz
"
