aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-04-23 15:39:49 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-25 10:33:31 +0000
commitc0b3f98aec4cce35eb1a948000ac5bd64b62cbd8 (patch)
tree710f72d462deb8c4d228ae5590c53bdfb0e2ffa6 /testing
parent04b746d5669a4668556de7e16383017e39e4f339 (diff)
downloadaports-c0b3f98aec4cce35eb1a948000ac5bd64b62cbd8.tar.bz2
aports-c0b3f98aec4cce35eb1a948000ac5bd64b62cbd8.tar.xz
testing/tracker: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/tracker/APKBUILD62
1 files changed, 62 insertions, 0 deletions
diff --git a/testing/tracker/APKBUILD b/testing/tracker/APKBUILD
new file mode 100644
index 0000000000..56f2fcaca0
--- /dev/null
+++ b/testing/tracker/APKBUILD
@@ -0,0 +1,62 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=tracker
+pkgver=2.2.1
+pkgrel=0
+pkgdesc="Personal search tool and storage system"
+url="https://wiki.gnome.org/Projects/Tracker"
+arch="all !armhf"
+license="GPL-2.0-or-later"
+makedepends="
+ bash-completion
+ dbus-dev
+ glib-dev
+ gobject-introspection-dev
+ icu-dev
+ json-glib-dev
+ libsoup-dev
+ libxml2-dev
+ meson
+ py3-setuptools
+ sqlite-dev
+ networkmanager-dev
+ vala"
+options="!check"
+subpackages="
+ $pkgname-dev
+ $pkgname-doc
+ $pkgname-lang
+ lib$pkgname:libs
+ $pkgname-bash-completion:bashcomp:noarch"
+source=https://download.gnome.org/sources/tracker/${pkgver%.*}/tracker-${pkgver}.tar.xz""
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dsystemd_user_services=no \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+bashcomp() {
+ pkgdesc="Bash completion for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+
+ mkdir -p "$subpkgdir"/usr/share
+ mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share
+}
+
+sha512sums="eaa235cf9e35d4bec4e9db5e4b5010518c5fda9ed466f1b4decc495cbb654a3722134812fe698d226e9bb6dfb34f9f496d3ffffab3a7d15cdbaff7c63df79f6c tracker-2.2.1.tar.xz"