diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 00:17:27 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 00:17:38 +0200 |
commit | db166351eba823d2a0efd2e19f9efe622653aff0 (patch) | |
tree | 34088159116163531d631bc29a4b8d4ebd68df7c /community/tracker/APKBUILD | |
parent | 38a9c5953fd4abc4d80035be15afd1a678f42995 (diff) | |
download | aports-db166351eba823d2a0efd2e19f9efe622653aff0.tar.bz2 aports-db166351eba823d2a0efd2e19f9efe622653aff0.tar.xz |
community/tracker: move from testing
Diffstat (limited to 'community/tracker/APKBUILD')
-rw-r--r-- | community/tracker/APKBUILD | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/community/tracker/APKBUILD b/community/tracker/APKBUILD new file mode 100644 index 0000000000..0f1b45b5a8 --- /dev/null +++ b/community/tracker/APKBUILD @@ -0,0 +1,61 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=tracker +pkgver=2.3.0 +pkgrel=0 +pkgdesc="Personal search tool and storage system" +url="https://wiki.gnome.org/Projects/Tracker" +arch="all" +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" + +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="7456186959f15666b4cab548b28ec6291b5cf1af22af0001db575645a9307eecdc9333062949747e592219651d9a6f217e1bee89d95b16bbed0d983cbb03b0e7 tracker-2.3.0.tar.xz" |