1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Alexander Fehr <pizzapunk gmail com>
6 pkgname=(tracker3 tracker3-docs)
9 pkgdesc="Desktop-neutral user information store, search tool and indexer"
10 url="https://wiki.gnome.org/Projects/Tracker"
13 depends=(sqlite icu glib2 libffi util-linux libstemmer libseccomp json-glib
15 makedepends=(gobject-introspection vala git hotdoc bash-completion meson
16 asciidoc systemd libsoup python-gobject python-dbus python-tappy)
18 _commit=b08f4768357593b426723ebcf62098be16669db3 # tags/3.3.2^0
19 source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit")
24 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
32 arch-meson tracker build -D tests_tap_protocol=true
33 meson compile -C build
37 dbus-run-session meson test -C build --print-errorlogs -t 3
41 local p="$1" f d; shift
43 d="$srcdir/$p/${f#$pkgdir/}"
44 mkdir -p "$(dirname "$d")"
46 rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
51 optdepends=('libsoup: Alternative remoting backend')
52 provides=(libtracker-sparql-3.0.so)
54 meson install -C build --destdir "$pkgdir"
57 _pick docs usr/share/{devhelp,doc}
60 package_tracker3-docs() {
61 pkgdesc+=" (documentation)"