# Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> setvar pkgname = 'accountsservice' setvar pkgver = '0.6.39' setvar pkgrel = '0' setvar pkgdesc = ""D-Bus interface for user account query and manipulation"" setvar url = ""http://www.freedesktop.org/software/accountsservice/"" setvar arch = ""all"" setvar license = ""GPLv3+"" setvar depends = """" setvar depends_dev = ""glib-dev gobject-introspection-dev polkit-dev"" setvar makedepends = ""$depends_dev intltool gnome-doc-utils"" setvar install = """" setvar subpackages = ""$pkgname-dev $pkgname-doc $pkgname-lang"" setvar source = ""http://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz"" setvar _builddir = ""$srcdir"/accountsservice-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc 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 # hack to disable utmpx sed -i -e '/#define HAVE_UTMPX_H 1/d' config.h make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 } setvar sha512sums = ""b72f2edf95b7df5b38c75fbe4be2581384f7ff3631248a9fd2a523a13638e2c9c8933f195b8991a7138a556786531258b00878dc1a68863b616d2d2a17cbcf33 accountsservice-0.6.39.tar.xz""