1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgbase=gnome-online-accounts
11 pkgdesc="Single sign-on framework for GNOME"
12 url="https://wiki.gnome.org/Projects/GnomeOnlineAccounts"
31 _commit=ebab108d4d8505b56cc313acad341520ed18df8f # tags/3.48.0^0
32 source=("git+https://gitlab.gnome.org/GNOME/gnome-online-accounts.git#commit=$_commit")
37 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
51 arch-meson $pkgname build "${meson_options[@]}"
52 meson compile -C build
56 meson test -C build --print-errorlogs
60 local p="$1" f d; shift
62 d="$srcdir/$p/${f#$pkgdir/}"
63 mkdir -p "$(dirname "$d")"
65 rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
69 package_gnome-online-accounts() {
70 depends+=("libgoa=$pkgver-$pkgrel")
72 'gvfs-goa: Virtual file systems, e.g. OwnCloud'
73 'gvfs-google: Google Drive'
75 provides=(libgoa-backend-1.0.so)
77 meson install -C build --destdir "$pkgdir"
81 _pick goa usr/include/goa-1.0/goa
82 _pick goa usr/lib/libgoa-1.0.so*
83 _pick goa usr/lib/girepository-1.0/Goa-1.0.typelib
84 _pick goa usr/lib/goa-1.0/include
85 _pick goa usr/lib/pkgconfig/goa-1.0.pc
86 _pick goa usr/share/gir-1.0/Goa-1.0.gir
87 _pick goa usr/share/vala/vapi/goa-1.0.*
88 _pick goa usr/share/gtk-doc
92 pkgdesc+=" - client library"
93 depends=(libg{lib,object,io}-2.0.so)
94 provides=(libgoa-1.0.so)
99 # vim:set sw=2 sts=-1 et: