[arch-commits] Commit in libchamplain/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 12:30:34 UTC 2020


    Date: Saturday, May 16, 2020 @ 12:30:33
  Author: felixonmars
Revision: 384551

archrelease: copy trunk to staging-x86_64

Added:
  libchamplain/repos/staging-x86_64/
  libchamplain/repos/staging-x86_64/PKGBUILD
    (from rev 384550, libchamplain/trunk/PKGBUILD)

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

Copied: libchamplain/repos/staging-x86_64/PKGBUILD (from rev 384550, libchamplain/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 12:30:33 UTC (rev 384551)
@@ -0,0 +1,38 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Michael Kanis <mkanis at gmx.de>
+
+pkgname=libchamplain
+pkgver=0.12.20
+pkgrel=2
+pkgdesc="A map widget"
+url="https://wiki.gnome.org/Projects/libchamplain"
+license=(LGPL)
+arch=(x86_64)
+depends=(clutter-gtk libsoup cairo sqlite)
+makedepends=(gobject-introspection gtk-doc vala meson git)
+_commit=145e417f32e507b63c21ad4e915b808a6174099e  # tags/LIBCHAMPLAIN_0_12_20^0
+source=("git+https://gitlab.gnome.org/GNOME/libchamplain.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^LIBCHAMPLAIN_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list