summaryrefslogtreecommitdiff
path: root/nonsystemd/accountsservice/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-04-01 21:38:18 -0400
committerDavid P <megver83@parabola.nu>2020-04-01 21:38:18 -0400
commit34cdec0cd2358f7091b9f2afabc719fe351b7132 (patch)
tree39699a0a1eb8bb324c32361d97788ae2e867b450 /nonsystemd/accountsservice/PKGBUILD
parent5e15c807a98f73d7693df40993025e2ea203525c (diff)
downloadabslibre-34cdec0cd2358f7091b9f2afabc719fe351b7132.tar.gz
abslibre-34cdec0cd2358f7091b9f2afabc719fe351b7132.tar.bz2
abslibre-34cdec0cd2358f7091b9f2afabc719fe351b7132.zip
addpkg: nonsystemd/accountsservice 0.6.55-1.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/accountsservice/PKGBUILD')
-rw-r--r--nonsystemd/accountsservice/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/nonsystemd/accountsservice/PKGBUILD b/nonsystemd/accountsservice/PKGBUILD
new file mode 100644
index 000000000..5e41792cd
--- /dev/null
+++ b/nonsystemd/accountsservice/PKGBUILD
@@ -0,0 +1,54 @@
+# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor (Arch): Ionut Biru <ibiru@archlinux.org>
+# Maintainer: David P. <megver83@parabola.nu>
+
+pkgname=accountsservice
+pkgver=0.6.55
+pkgrel=1
+pkgrel+=.nonsystemd1
+pkgdesc="D-Bus interface for user account query and manipulation"
+url="https://gitlab.freedesktop.org/accountsservice/accountsservice"
+arch=(x86_64)
+arch+=(i686 armv7h)
+license=(GPL3)
+depends=(glib2 polkit elogind)
+makedepends=(gtk-doc gobject-introspection git meson docbook-xsl xmlto)
+provides+=($pkgname-elogind)
+conflicts=(${provides[@]})
+replaces=(${provides[@]})
+_commit=6d6f7d62fd18fe5a4d4c06cb1455887ca3abdd1d # tags/0.6.55^0
+source=("git+https://gitlab.freedesktop.org/accountsservice/accountsservice.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+
+prepare() {
+ cd $pkgname
+ sed -i '/dbus_conf_dir/s/sysconfdir/datadir/g' meson.build
+}
+
+build() {
+ arch-meson $pkgname build \
+ -D admin_group=wheel \
+ -D systemd=false \
+ -D docbook=true \
+ -D gtk_doc=true \
+ -D systemdsystemunitdir=no \
+ -D elogind=true \
+ -D user_heuristics=false
+ ninja -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set ts=2 sw=2 et: