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

Jan Steffens heftig at archlinux.org
Thu Mar 8 20:02:17 UTC 2018


    Date: Thursday, March 8, 2018 @ 20:02:16
  Author: heftig
Revision: 318277

archrelease: copy trunk to gnome-unstable-x86_64

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

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

Copied: libgweather/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318276, libgweather/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2018-03-08 20:02:16 UTC (rev 318277)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot  <jgc at archlinux.org>
+
+pkgname=libgweather
+pkgver=3.27.4+66+g04e6df0
+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)
+_commit=04e6df08c06428eeca2ce910689a6d107510d400  # master
+source=("git+https://gitlab.gnome.org/GNOME/libgweather.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}



More information about the arch-commits mailing list