Date: Wednesday, October 4, 2017 @ 00:03:37 Author: heftig Revision: 306682
archrelease: copy trunk to testing-i686, testing-x86_64 Added: jsonrpc-glib/repos/testing-i686/ jsonrpc-glib/repos/testing-i686/PKGBUILD (from rev 306681, jsonrpc-glib/trunk/PKGBUILD) jsonrpc-glib/repos/testing-x86_64/ jsonrpc-glib/repos/testing-x86_64/PKGBUILD (from rev 306681, jsonrpc-glib/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) Copied: jsonrpc-glib/repos/testing-i686/PKGBUILD (from rev 306681, jsonrpc-glib/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-10-04 00:03:37 UTC (rev 306682) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=jsonrpc-glib +pkgver=3.26.1 +pkgrel=1 +pkgdesc="A JSON-RPC library for GLib" +url="https://git.gnome.org/browse/jsonrpc-glib" +arch=(i686 x86_64) +license=(LGPL) +depends=(json-glib) +makedepends=(git meson vala gobject-introspection gtk-doc) +_commit=3cac93a18dd95572027d9817c0ea046838f8bcb9 # tags/3.26.1^0 +source=("git+https://git.gnome.org/browse/jsonrpc-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: jsonrpc-glib/repos/testing-x86_64/PKGBUILD (from rev 306681, jsonrpc-glib/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-10-04 00:03:37 UTC (rev 306682) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=jsonrpc-glib +pkgver=3.26.1 +pkgrel=1 +pkgdesc="A JSON-RPC library for GLib" +url="https://git.gnome.org/browse/jsonrpc-glib" +arch=(i686 x86_64) +license=(LGPL) +depends=(json-glib) +makedepends=(git meson vala gobject-introspection gtk-doc) +_commit=3cac93a18dd95572027d9817c0ea046838f8bcb9 # tags/3.26.1^0 +source=("git+https://git.gnome.org/browse/jsonrpc-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 +}