aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/accountsservice/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/accountsservice/APKBUILD')
-rw-r--r--unmaintained/accountsservice/APKBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/unmaintained/accountsservice/APKBUILD b/unmaintained/accountsservice/APKBUILD
new file mode 100644
index 0000000000..0c4f7771e7
--- /dev/null
+++ b/unmaintained/accountsservice/APKBUILD
@@ -0,0 +1,54 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=accountsservice
+pkgver=0.6.37
+pkgrel=0
+pkgdesc="D-Bus interface for user account query and manipulation"
+url="http://www.freedesktop.org/software/accountsservice/"
+arch="all"
+license="GPLv3+"
+depends=""
+depends_dev="glib-dev gobject-introspection-dev polkit-dev"
+makedepends="$depends_dev intltool gnome-doc-utils"
+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
+ # hack to disable utmpx
+ sed -i -e '/#define HAVE_UTMPX_H 1/d' config.h
+
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="aa5f4da715b8ec19024e39def88831a0 accountsservice-0.6.37.tar.xz"
+sha256sums="b0b21136dc9d74a7135fd5ed7fa1a8069efb91bc6ecc1ef8911125433345a5c1 accountsservice-0.6.37.tar.xz"
+sha512sums="c6014da6796ed384c02f9171bb47cdbc5da61d80d53adbc3120c19a1166caa2ede2a6e676cfc6ddf2b953e78a290b70d86a5bf1af10c428e215a875878cc816c accountsservice-0.6.37.tar.xz"