[arch-commits] Commit in geoclue2/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Oct 14 20:35:43 UTC 2018
Date: Sunday, October 14, 2018 @ 20:35:42
Author: heftig
Revision: 336568
archrelease: copy trunk to testing-x86_64
Added:
geoclue2/repos/testing-x86_64/
geoclue2/repos/testing-x86_64/PKGBUILD
(from rev 336567, geoclue2/trunk/PKGBUILD)
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
Copied: geoclue2/repos/testing-x86_64/PKGBUILD (from rev 336567, geoclue2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-10-14 20:35:42 UTC (rev 336568)
@@ -0,0 +1,56 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=geoclue2
+pkgver=2.5.0
+pkgrel=1
+pkgdesc="Modular geoinformation service built on the D-Bus messaging system"
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/GeoClue/"
+license=(LGPL)
+depends=(libsoup json-glib libmm-glib avahi libnotify)
+makedepends=(systemd gobject-introspection git vala meson gtk-doc)
+backup=(etc/geoclue/geoclue.conf)
+conflicts=(geoclue)
+_commit=4138a5e337b02a659152295de7bc00b5cbd99277 # tags/2.5.0^0
+source=("git+https://gitlab.freedesktop.org/geoclue/geoclue.git#commit=$_commit")
+sha256sums=('SKIP')
+
+# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact foutrelis at archlinux.org for
+# more information.
+_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
+
+# Mozilla API keys (see https://location.services.mozilla.com/api)
+# Note: These are for Arch Linux use ONLY. For your own distribution, please
+# get your own set of keys. Feel free to contact heftig at archlinux.org for
+# more information.
+_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
+
+pkgver() {
+ cd geoclue
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd geoclue
+ sed -e "s/key=geoclue/key=$_mozilla_api_key/" \
+ -e "s/key=YOUR_KEY/key=$_google_api_key/" \
+ -i data/geoclue.conf.in
+}
+
+build() {
+ arch-meson geoclue build
+ ninja -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list