[arch-commits] Commit in libgweather/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Thu Feb 10 18:20:55 UTC 2022


    Date: Thursday, February 10, 2022 @ 18:20:54
  Author: heftig
Revision: 436880

40.0+r87+g80e5a652-1

Modified:
  libgweather/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-10 18:10:48 UTC (rev 436879)
+++ PKGBUILD	2022-02-10 18:20:54 UTC (rev 436880)
@@ -2,7 +2,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libgweather
-pkgver=40.0
+pkgver=40.0+r87+g80e5a652
 pkgrel=1
 pkgdesc="Location and timezone database and weather-lookup library"
 url="https://wiki.gnome.org/Projects/LibGWeather"
@@ -11,13 +11,13 @@
 depends=(libsoup gtk3 geocode-glib dconf)
 makedepends=(gobject-introspection vala git gtk-doc glade meson python-gobject)
 provides=(libgweather-3.so)
-_commit=85e157dade2ce9f252c93e8ec2b7a88f6fe78016  # tags/40.0^0
+_commit=80e5a652405a7c492b252c5196460caa0b05793d  # libgweather-3
 source=("git+https://gitlab.gnome.org/GNOME/libgweather.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/\.beta/beta/;s/-/+/g'
+  git describe --tags | sed 's/\.beta/beta/;s/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
@@ -35,5 +35,5 @@
 }
 
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  meson install -C build --destdir "$pkgdir"
 }



More information about the arch-commits mailing list