aboutsummaryrefslogtreecommitdiffstats
path: root/testing/accountsservice/APKBUILD
blob: e17e5301014565fe21084afdf0f23537318bb74a (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
46
47
48
49
50
51
52
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=accountsservice
pkgver=0.6.35
pkgrel=0
pkgdesc="D-Bus interface for user account query and manipulation"
url="http://www.freedesktop.org/software/accountsservice/"
arch="all"
license="GPL3"
depends=""
depends_dev="glib-dev gobject-introspection-dev polkit-dev"
makedepends="$depends_dev intltool"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz"

_builddir="$srcdir"/accountsservice-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-systemd \
		--enable-introspection=yes \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="3a81133e95faafb603de4475802cb06a  accountsservice-0.6.35.tar.xz"
sha256sums="65a1c7013c9c6785c7feb710ee940bb297207dabdb93561fdfdd140e0dfd3038  accountsservice-0.6.35.tar.xz"
sha512sums="902833564952fe80ee4cb27b018ae21299e7e68a6bf41d5fd05bf6cf313bb7398922e651007beaa77ede2255533d25456b843e2dad912a1dada07d5005c7e811  accountsservice-0.6.35.tar.xz"