[arch-commits] Commit in template-glib/repos (2 files)
Jan Steffens
heftig at archlinux.org
Wed Mar 14 18:28:26 UTC 2018
Date: Wednesday, March 14, 2018 @ 18:28:26
Author: heftig
Revision: 319000
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 318999, template-glib/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: template-glib/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318999, template-glib/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-03-14 18:28:26 UTC (rev 319000)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=template-glib
+pkgver=3.28.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=2827a669c84534e27b0c5f78649d7e95e92ddf5f # tags/3.28.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() {
+ cd build
+ meson test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
More information about the arch-commits
mailing list