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

Jan Steffens heftig at archlinux.org
Sat Sep 8 01:02:55 UTC 2018


    Date: Saturday, September 8, 2018 @ 01:02:55
  Author: heftig
Revision: 333867

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 333866, template-glib/trunk/PKGBUILD)

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

Copied: template-glib/repos/gnome-unstable-x86_64/PKGBUILD (from rev 333866, template-glib/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2018-09-08 01:02:55 UTC (rev 333867)
@@ -0,0 +1,36 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=template-glib
+pkgver=3.30.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)
+_commit=3fe77c8d7028c0c72888a0857337facb3c533272  # tags/3.30.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'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D enable_gtk_doc=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list