[arch-commits] Commit in template-glib/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Oct 3 23:59:16 UTC 2017
Date: Tuesday, October 3, 2017 @ 23:59:16
Author: heftig
Revision: 306679
3.26.1-1
Added:
template-glib/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-03 23:59:16 UTC (rev 306679)
@@ -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
+}
Property changes on: template-glib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list