[arch-commits] Commit in template-glib/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue May 19 08:20:15 UTC 2020
Date: Tuesday, May 19, 2020 @ 08:20:15
Author: foutrelis
Revision: 386249
archrelease: copy trunk to staging-x86_64
Added:
template-glib/repos/staging-x86_64/
template-glib/repos/staging-x86_64/PKGBUILD
(from rev 386247, template-glib/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: template-glib/repos/staging-x86_64/PKGBUILD (from rev 386247, template-glib/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 08:20:15 UTC (rev 386249)
@@ -0,0 +1,36 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=template-glib
+pkgver=3.34.0
+pkgrel=2
+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=3899ca522bc2cc6e2d866abbc9bc05818a6c48b3 # tags/3.34.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 --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list