mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Alexander Fehr <pizzapunk gmail com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable functional tests
|
|
|
|
pkgname=tracker
|
|
pkgver=2.3.6
|
|
pkgrel=2
|
|
pkgdesc="Desktop-neutral user information store, search tool and indexer"
|
|
url="https://wiki.gnome.org/Projects/Tracker"
|
|
arch=(x86_64)
|
|
license=(GPL)
|
|
depends=(sqlite icu glib2 libffi util-linux libstemmer libseccomp libsoup
|
|
json-glib upower libnm)
|
|
makedepends=(gobject-introspection vala git bash-completion meson)
|
|
checkdepends=(python-gobject python-dbus)
|
|
provides=(libtracker-{control,miner,sparql}-2.0.so)
|
|
groups=(gnome)
|
|
_commit=5c27e06e6600122d4e2dc7a133e1b3149e76e4de # tags/2.3.6^0
|
|
source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/_/./g;s/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
}
|
|
|
|
build() {
|
|
arch-meson $pkgname build -D functional_tests=false
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
dbus-run-session meson test -C build --print-errorlogs -t 3
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
}
|