aboutsummaryrefslogtreecommitdiffstats
path: root/community/accountsservice/APKBUILD
blob: acde99a6d4094e9737fa5dcfd9d7fc3cb9589e01 (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
36
37
38
39
40
41
42
43
44
45
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=accountsservice
pkgver=0.6.55
pkgrel=1
pkgdesc="D-Bus interface for user account query and manipulation"
options="!check" # No testsuite
url="https://www.freedesktop.org/software/accountsservice/"
arch="all"
license="GPL-3.0-or-later"
depends_dev="glib-dev gobject-introspection-dev polkit-dev"
makedepends="
	$depends_dev
	intltool
	meson
	elogind-dev
	"
subpackages="$pkgname-dev $pkgname-lang lib$pkgname:libs"
source="https://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz
	musl-fgetspent_r.patch
	musl-wtmp.patch
	"

build() {
	meson \
		--prefix=/usr \
		--buildtype=plain \
		-Dlibdir=lib \
		-Dsystemdsystemunitdir=no \
		-Dsystemd=false \
		-Delogind=true \
		-Dintrospection=true \
		-Ddocbook=false \
		-Dgtk_doc=false \
		output
	ninja -C output
}

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

sha512sums="c12e6a8e80f9b087f97238da4734d2d3a14a7c5cbd870a32a04b00116f176c818c39fb886f6dc72c3e93c136b0c2074ddf8f77e20431fa3bd54f138bea9d262d  accountsservice-0.6.55.tar.xz
469392beca8f5941eafaa193c4fcb0472770ee4183ce520416a1b5d6abafe0e201990eb74d06bfbd9e20af08e55aff5f0031f267083f6c6879f0fe4e5028103c  musl-fgetspent_r.patch
7b41a5fd4c2ab178762902d137ebf6eb6edbf97bae9255d17c4380c8c738b159aa25a2e51c31f740789560f17850c71b0bb60ee792a2a87be6b60cb5c89d7efc  musl-wtmp.patch"