[arch-commits] Commit in tracker/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Aug 6 16:37:33 UTC 2018
Date: Monday, August 6, 2018 @ 16:37:32
Author: felixonmars
Revision: 331014
archrelease: copy trunk to staging-x86_64
Added:
tracker/repos/staging-x86_64/
tracker/repos/staging-x86_64/PKGBUILD
(from rev 331013, tracker/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: tracker/repos/staging-x86_64/PKGBUILD (from rev 331013, tracker/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-08-06 16:37:32 UTC (rev 331014)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=tracker
+pkgver=2.1.1
+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 intltool vala git gtk-doc bash-completion meson)
+checkdepends=(python2-gobject python2-dbus)
+groups=(gnome)
+_commit=63e7dae51fbb033707e4f255684b6913340f4605 # tags/2.1.1^0
+source=("git+https://gitlab.gnome.org/GNOME/tracker.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ # Many tests are broken:
+ # - Assume schemas are installed
+ # - Assume services are autolaunched
+ dbus-run-session meson test -C build || :
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list