summaryrefslogtreecommitdiff
path: root/experimental/accountsservice/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-16 18:40:02 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-16 18:40:02 +0000
commita35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a (patch)
tree2f740a1775f6b8526d764ec88ff616a68fd3a550 /experimental/accountsservice/APKBUILD
parenta40d33bcce50ab17db9438f72b3b36e8a9d5ad16 (diff)
downloadpackages-a35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a.tar.gz
packages-a35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a.tar.bz2
packages-a35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a.tar.xz
packages-a35d2c0d00433c0e9d315c0ec7bfb257c5c13c7a.zip
experimental: add accountsservice and user-manager
user-manager works fine, but needs accountsservice; accountsservice needs fgetspent_r.
Diffstat (limited to 'experimental/accountsservice/APKBUILD')
-rw-r--r--experimental/accountsservice/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/experimental/accountsservice/APKBUILD b/experimental/accountsservice/APKBUILD
new file mode 100644
index 000000000..fb82e1dd5
--- /dev/null
+++ b/experimental/accountsservice/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=accountsservice
+pkgver=0.6.54
+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"
+subpackages="$pkgname-doc"
+source="https://www.freedesktop.org/software/accountsservice/accountsservice-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ CPPFLAGS="-D_PATH_WTMPX=\\\"/run/utmps/wtmp\\\"" meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ -Dadmin_group=wheel \
+ -Ddocbook=true \
+ -Dsystemd=false \
+ -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() {
+ cd "$builddir"
+ ninja -C output test
+}
+
+package() {
+ cd "$builddir"
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="5fbcccc286dba60efba905aa79b1b51a5478fe52bf2e256d40d9fc2d7a311aea4ce397365045659a4ef2ecb2cc079130fb1d0107749c3c906c394517056ac1c0 accountsservice-0.6.54.tar.xz"