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

Jan Steffens heftig at archlinux.org
Thu Mar 25 22:42:58 UTC 2021


    Date: Thursday, March 25, 2021 @ 22:42:57
  Author: heftig
Revision: 410997

archrelease: copy trunk to gnome-unstable-any

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

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

Copied: gnome-weather/repos/gnome-unstable-any/PKGBUILD (from rev 410996, gnome-weather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD	                        (rev 0)
+++ gnome-unstable-any/PKGBUILD	2021-03-25 22:42:57 UTC (rev 410997)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=gnome-weather
+pkgver=40.0
+pkgrel=1
+pkgdesc="Access current weather conditions and forecasts"
+url="https://wiki.gnome.org/Apps/Weather"
+arch=(any)
+license=(GPL)
+depends=(gtk3 gjs libgweather geoclue2 gnome-desktop libhandy)
+makedepends=(gobject-introspection appstream-glib git meson)
+groups=(gnome)
+_commit=65c5801297a3119b24f3c17dd7e846eb22f578e6  # tags/40.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'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list