aboutsummaryrefslogblamecommitdiffstats
path: root/testing/accountsservice/APKBUILD
blob: 00f243e1d8b0aef98599a0ab59a21f6cf3a26ff0 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
                                                   
                       
             



                                                                 
                          

                                                           
                                                   
                                                     
                                                                                           


                                   
         



                                                                     







                                           


                                          
 


                      


           

                                      

 

                                                                                                                                                                           
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=accountsservice
pkgver=0.6.50
pkgrel=0
pkgdesc="D-Bus interface for user account query and manipulation"
url="http://www.freedesktop.org/software/accountsservice/"
arch="all"
license="GPL-3.0-or-later"
depends=""
depends_dev="glib-dev gobject-introspection-dev polkit-dev"
makedepends="$depends_dev intltool gnome-doc-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz
	musl-fgetspent_r.patch
	"
builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	# Hack to check for /var/log/wtmp instead of /var/log/utx.log
	sed -i configure -e "s;utx\.log;wtmp;g"
	ac_cv_file__var_log_utx_log=yes ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-systemd \
		--enable-introspection=yes
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="6e07cd318452b1cbedeacd729f0ebb200525caf1b09981abb2bac16fd90756a790ebec08aca0a0cea016f14ab27c159a68fe1332ef4bc636c5863b8c61040f64  accountsservice-0.6.50.tar.xz
469392beca8f5941eafaa193c4fcb0472770ee4183ce520416a1b5d6abafe0e201990eb74d06bfbd9e20af08e55aff5f0031f267083f6c6879f0fe4e5028103c  musl-fgetspent_r.patch"