[arch-commits] Commit in gnome-weather/repos (2 files)

Jan Steffens heftig at gemini.archlinux.org
Sat Apr 2 23:17:17 UTC 2022


    Date: Saturday, April 2, 2022 @ 23:17:17
  Author: heftig
Revision: 441356

archrelease: copy trunk to gnome-unstable-any

Added:
  gnome-weather/repos/gnome-unstable-any/
  gnome-weather/repos/gnome-unstable-any/PKGBUILD
    (from rev 441355, gnome-weather/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: gnome-weather/repos/gnome-unstable-any/PKGBUILD (from rev 441355, gnome-weather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD	                        (rev 0)
+++ gnome-unstable-any/PKGBUILD	2022-04-02 23:17:17 UTC (rev 441356)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=gnome-weather
+pkgver=42.0
+pkgrel=1
+pkgdesc="Access current weather conditions and forecasts"
+url="https://wiki.gnome.org/Apps/Weather"
+arch=(any)
+license=(GPL)
+depends=(gtk4 gjs libgweather-4 geoclue libadwaita)
+makedepends=(gobject-introspection appstream-glib git meson)
+groups=(gnome)
+_commit=9165610014d95c5a93e61d8d11d91dc98d1adc33  # tags/42.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-weather.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}



More information about the arch-commits mailing list