Date: Monday, October 3, 2022 @ 23:13:33
  Author: heftig
Revision: 457188

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  template-glib/repos/gnome-unstable-x86_64/
  template-glib/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 457187, template-glib/trunk/PKGBUILD)

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

Copied: template-glib/repos/gnome-unstable-x86_64/PKGBUILD (from rev 457187, 
template-glib/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2022-10-03 23:13:33 UTC (rev 457188)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgname=template-glib
+pkgver=3.36.0
+pkgrel=1
+pkgdesc="A templating library for GLib"
+url="https://gitlab.gnome.org/GNOME/template-glib";
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2 gobject-introspection-runtime)
+makedepends=(git meson vala gobject-introspection gtk-doc)
+provides=(libtemplate_glib-1.0.so)
+options=(debug)
+_commit=a79f0b3e8c09eed250f5fc0ed7b806daf6387c03  # tags/3.36.0^0
+source=("git+https://gitlab.gnome.org/GNOME/template-glib.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed '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:

Reply via email to