Date: Wednesday, January 18, 2023 @ 14:23:37
Author: heftig
Revision: 466909
archrelease: copy trunk to testing-x86_64
Added:
libchamplain/repos/testing-x86_64/
libchamplain/repos/testing-x86_64/PKGBUILD
(from rev 466908, libchamplain/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: libchamplain/repos/testing-x86_64/PKGBUILD (from rev 466908,
libchamplain/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2023-01-18 14:23:37 UTC (rev 466909)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Andreas Radke <[email protected]>
+# Contributor: Michael Kanis <[email protected]>
+
+pkgname=libchamplain
+pkgver=0.12.21
+pkgrel=1
+pkgdesc="Map widget for GTK 3"
+url="https://wiki.gnome.org/Projects/libchamplain"
+license=(LGPL)
+arch=(x86_64)
+depends=(clutter-gtk libsoup3 cairo sqlite)
+makedepends=(gobject-introspection gtk-doc vala meson git)
+_commit=941560af497148588783db991e8135f52a82574d # tags/0.12.21^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/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build -D gtk_doc=true
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: