[arch-commits] Commit in geoclue/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Sun Feb 27 09:19:02 UTC 2022


    Date: Sunday, February 27, 2022 @ 09:19:02
  Author: heftig
Revision: 438199

archrelease: copy trunk to extra-x86_64

Added:
  geoclue/repos/extra-x86_64/PKGBUILD
    (from rev 438198, geoclue/trunk/PKGBUILD)
Deleted:
  geoclue/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  121 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 62 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-27 09:18:41 UTC (rev 438198)
+++ PKGBUILD	2022-02-27 09:19:02 UTC (rev 438199)
@@ -1,59 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: György Balló <ballogy at freestart.hu>
-
-pkgname=geoclue
-pkgver=2.6.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 geocode-glib)
-makedepends=(systemd gobject-introspection git vala meson gtk-doc libnotify)
-optdepends=('libnotify: Demo Agent')
-provides=("geoclue2=$pkgver-$pkgrel")
-conflicts=(geoclue2)
-replaces=(geoclue2)
-backup=(etc/geoclue/geoclue.conf)
-_commit=10998ca3215fb6d21b5a32fdf78bb5feffaf4c0f  # tags/2.6.0^0
-source=("git+https://gitlab.freedesktop.org/geoclue/geoclue.git#commit=$_commit")
-sha256sums=('SKIP')
-
-# 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=e05d56db0a694edc8b5aaebda3f2db6a
-
-pkgver() {
-  cd geoclue
-  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
-  cd geoclue
-}
-
-build() {
-  arch-meson geoclue build \
-    -D dbus-srv-user=geoclue \
-    -D dbus-sys-dir=/usr/share/dbus-1/system.d \
-    -D mozilla-api-key="$_mozilla_api_key"
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  meson install -C build --destdir "$pkgdir"
-
-  echo 'u geoclue - "Geoinformation service" /var/lib/geoclue' |
-    install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/geoclue.conf"
-
-  echo 'd /var/lib/geoclue 0755 geoclue geoclue' |
-    install -Dm644 /dev/stdin "$pkgdir/usr/lib/tmpfiles.d/geoclue.conf"
-}
-
-# vim:set sw=2 et:

Copied: geoclue/repos/extra-x86_64/PKGBUILD (from rev 438198, geoclue/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-27 09:19:02 UTC (rev 438199)
@@ -0,0 +1,62 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=geoclue
+pkgver=2.6.0
+pkgrel=2
+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 geocode-glib)
+makedepends=(systemd gobject-introspection git vala meson gtk-doc libnotify)
+optdepends=('libnotify: Demo Agent')
+provides=("geoclue2=$pkgver-$pkgrel")
+conflicts=(geoclue2)
+replaces=(geoclue2)
+backup=(etc/geoclue/geoclue.conf)
+_commit=10998ca3215fb6d21b5a32fdf78bb5feffaf4c0f  # tags/2.6.0^0
+source=("git+https://gitlab.freedesktop.org/geoclue/geoclue.git#commit=$_commit")
+sha256sums=('SKIP')
+
+# 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=e05d56db0a694edc8b5aaebda3f2db6a
+
+pkgver() {
+  cd geoclue
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd geoclue
+}
+
+build() {
+  arch-meson geoclue build \
+    -D dbus-srv-user=geoclue \
+    -D dbus-sys-dir=/usr/share/dbus-1/system.d \
+    -D mozilla-api-key="$_mozilla_api_key"
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+
+  echo 'u geoclue - "Geoinformation service" /var/lib/geoclue' |
+    install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/geoclue.conf"
+
+  echo 'd /var/lib/geoclue 0755 geoclue geoclue' |
+    install -Dm644 /dev/stdin "$pkgdir/usr/lib/tmpfiles.d/geoclue.conf"
+
+  # Fixup mode to match polkit
+  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list