summaryrefslogblamecommitdiff
path: root/user/accountsservice/APKBUILD
blob: 62ae94d9e9137908b73521a22322d78599a18bda (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                  
              





                                                                          
                                                    
                                                     
                                                                                            
         





                                                                
                                








                                                           


                            

                                                 
                                                                                                                                                                             
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=accountsservice
pkgver=22.08.8
pkgrel=0
pkgdesc="D-Bus service for accessing user account information"
url="https://www.freedesktop.org/wiki/Software/AccountsService/"
arch="all"
license="GPL-3.0+ AND GPL-2.0+"
depends="dbus"
makedepends="cmake dbus-dev glib-dev gobject-introspection-dev meson ninja
	polkit-dev utmps-dev xmlto elogind-dev vala"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz"

build() {
	CPPFLAGS="-D_PATH_WTMPX=\\\"/run/utmps/wtmp\\\"" meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		-Dadmin_group=wheel \
		-Ddocbook=true \
		-Delogind=true \
		-Dsystemdsystemunitdir=no \
		. output
	mkdir -p output/data
	# msgfmt(1) XML error
	cp data/org.freedesktop.accounts.policy.in \
		output/data/org.freedesktop.accounts.policy
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="2ca3ceb1b44338d9924b86788256d4eef7ec10e0c2197bfb8cc6c31ae224fab3051f03cb406a526f90057684965bef4ba0f2cc01b26198ec1fc6baec36ad3ff8  accountsservice-22.08.8.tar.xz"