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

Jan Steffens heftig at archlinux.org
Wed Mar 24 19:56:10 UTC 2021


    Date: Wednesday, March 24, 2021 @ 19:56:10
  Author: heftig
Revision: 410850

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  libgweather/repos/gnome-unstable-x86_64/
  libgweather/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 410849, libgweather/trunk/PKGBUILD)

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

Copied: libgweather/repos/gnome-unstable-x86_64/PKGBUILD (from rev 410849, libgweather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2021-03-24 19:56:10 UTC (rev 410850)
@@ -0,0 +1,39 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libgweather
+pkgver=40beta+26+gec58e8b0
+pkgrel=1
+pkgdesc="Location and timezone database and weather-lookup library"
+url="https://wiki.gnome.org/Projects/LibGWeather"
+arch=(x86_64)
+license=(LGPL)
+depends=(libsoup gtk3 geocode-glib dconf)
+makedepends=(gobject-introspection vala git gtk-doc glade meson python-gobject)
+provides=(libgweather-3.so)
+_commit=ec58e8b0f69ba779ed817cfe7992063aeb489dae  # master
+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'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  meson compile -C build
+}
+
+check() {
+  # Test fails without fr_FR.UTF-8 locale
+  meson test -C build --print-errorlogs || :
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list