PKGBUILDs/extra/tracker/PKGBUILD

46 lines
1.2 KiB
Bash
Raw Normal View History

2020-08-25 00:48:56 +00:00
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2018-02-07 04:17:03 +00:00
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2018-07-24 00:24:58 +00:00
# - disable functional tests
2018-02-07 04:17:03 +00:00
pkgname=tracker
2020-09-19 00:33:50 +00:00
pkgver=2.3.6
2020-10-19 13:51:13 +00:00
pkgrel=2
2018-02-07 04:17:03 +00:00
pkgdesc="Desktop-neutral user information store, search tool and indexer"
url="https://wiki.gnome.org/Projects/Tracker"
arch=(x86_64)
license=(GPL)
2020-02-19 10:04:29 +00:00
depends=(sqlite icu glib2 libffi util-linux libstemmer libseccomp libsoup
json-glib upower libnm)
2020-10-19 13:51:13 +00:00
makedepends=(gobject-introspection vala git bash-completion meson)
2019-03-06 19:31:07 +00:00
checkdepends=(python-gobject python-dbus)
2020-02-19 10:04:29 +00:00
provides=(libtracker-{control,miner,sparql}-2.0.so)
2018-02-07 04:17:03 +00:00
groups=(gnome)
2020-09-19 00:33:50 +00:00
_commit=5c27e06e6600122d4e2dc7a133e1b3149e76e4de # tags/2.3.6^0
2019-02-15 01:09:01 +00:00
source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit")
sha256sums=('SKIP')
2018-02-07 04:17:03 +00:00
pkgver() {
cd $pkgname
2019-02-22 19:10:21 +00:00
git describe --tags | sed 's/_/./g;s/-/+/g'
2018-02-07 04:17:03 +00:00
}
prepare() {
cd $pkgname
}
build() {
2020-10-19 13:51:13 +00:00
arch-meson $pkgname build -D functional_tests=false
2020-08-25 00:48:56 +00:00
meson compile -C build
2018-02-07 04:17:03 +00:00
}
check() {
2020-08-25 00:48:56 +00:00
dbus-run-session meson test -C build --print-errorlogs -t 3
2018-02-07 04:17:03 +00:00
}
package() {
2018-07-24 00:24:58 +00:00
DESTDIR="$pkgdir" meson install -C build
2018-02-07 04:17:03 +00:00
}