[arch-commits] Commit in template-glib/repos (4 files)
Jan Steffens
heftig at archlinux.org
Wed Oct 4 00:04:29 UTC 2017
Date: Wednesday, October 4, 2017 @ 00:04:19
Author: heftig
Revision: 306683
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
template-glib/repos/testing-i686/
template-glib/repos/testing-i686/PKGBUILD
(from rev 306682, template-glib/trunk/PKGBUILD)
template-glib/repos/testing-x86_64/
template-glib/repos/testing-x86_64/PKGBUILD
(from rev 306682, template-glib/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: template-glib/repos/testing-i686/PKGBUILD (from rev 306682, template-glib/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-10-04 00:04:19 UTC (rev 306683)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=template-glib
+pkgver=3.26.1
+pkgrel=1
+pkgdesc="A templating library for GLib"
+url="https://git.gnome.org/browse/template-glib"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(glib2 gobject-introspection-runtime)
+makedepends=(git meson vala gobject-introspection gtk-doc)
+_commit=b9a332a2baadfa7aaa46c16e1084a82489539b8f # tags/3.26.1^0
+source=("git+https://git.gnome.org/browse/template-glib#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd $pkgname
+}
+
+build() {
+ cd build
+ arch-meson ../$pkgname -Denable_gtk_doc=true
+ ninja
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja install
+}
Copied: template-glib/repos/testing-x86_64/PKGBUILD (from rev 306682, template-glib/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-10-04 00:04:19 UTC (rev 306683)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=template-glib
+pkgver=3.26.1
+pkgrel=1
+pkgdesc="A templating library for GLib"
+url="https://git.gnome.org/browse/template-glib"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(glib2 gobject-introspection-runtime)
+makedepends=(git meson vala gobject-introspection gtk-doc)
+_commit=b9a332a2baadfa7aaa46c16e1084a82489539b8f # tags/3.26.1^0
+source=("git+https://git.gnome.org/browse/template-glib#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd $pkgname
+}
+
+build() {
+ cd build
+ arch-meson ../$pkgname -Denable_gtk_doc=true
+ ninja
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list