aboutsummaryrefslogtreecommitdiffstats
path: root/community/xdg-dbus-proxy/APKBUILD
blob: 103beff7a5027e971377dba7d174e6e89088b7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xdg-dbus-proxy
pkgver=0.1.2
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"
subpackages="$pkgname-doc"
source="https://github.com/flatpak/xdg-dbus-proxy/releases/download/$pkgver/xdg-dbus-proxy-$pkgver.tar.xz
	musl-fix.patch" # https://github.com/flatpak/flatpak/issues/618

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c76460e365778efeb1ef7cb9e479491afd1dc270680d108e7ece82b27be30bb4f958d4d218ac7d4497dcc749da25437f62119003866dcdeafcb6cea843dcbe1e  xdg-dbus-proxy-0.1.2.tar.xz
aa3d8494e7d59079f14a8352b2062e8b67409ce452d1eeadebbbcf444a876ebbafd722146fbaf6c9258d19991ed50988655a8314993b1fe83f5c7b63e0847878  musl-fix.patch"