[arch-commits] Commit in json-glib/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Sep 10 08:08:07 UTC 2017


    Date: Sunday, September 10, 2017 @ 08:08:07
  Author: heftig
Revision: 305213

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  json-glib/repos/gnome-unstable-i686/
  json-glib/repos/gnome-unstable-i686/PKGBUILD
    (from rev 305212, json-glib/trunk/PKGBUILD)
  json-glib/repos/gnome-unstable-x86_64/
  json-glib/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 305212, json-glib/trunk/PKGBUILD)

--------------------------------+
 gnome-unstable-i686/PKGBUILD   |   44 +++++++++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD |   44 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: json-glib/repos/gnome-unstable-i686/PKGBUILD (from rev 305212, json-glib/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2017-09-10 08:08:07 UTC (rev 305213)
@@ -0,0 +1,44 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=json-glib
+pkgver=1.3.2
+pkgrel=1
+pkgdesc="JSON library built on GLib"
+url="https://wiki.gnome.org/Projects/JsonGlib"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(glib2)
+makedepends=(gobject-introspection git gtk-doc meson)
+_commit=730cc7f4f69913eb1702fd2a52229d678d1e8c90  # tags/1.3.2^0
+source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  mkdir build
+  cd $pkgname
+}
+
+build() {
+  cd build
+  meson setup --prefix=/usr --buildtype=release ../$pkgname \
+    --libexecdir=/usr/lib \
+    -Denable-gtk-doc=true \
+    -Denable-man=true
+  ninja
+}
+
+check() {
+  cd build
+  meson test || [[ $CARCH == i686 ]]
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}

Copied: json-glib/repos/gnome-unstable-x86_64/PKGBUILD (from rev 305212, json-glib/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2017-09-10 08:08:07 UTC (rev 305213)
@@ -0,0 +1,44 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=json-glib
+pkgver=1.3.2
+pkgrel=1
+pkgdesc="JSON library built on GLib"
+url="https://wiki.gnome.org/Projects/JsonGlib"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(glib2)
+makedepends=(gobject-introspection git gtk-doc meson)
+_commit=730cc7f4f69913eb1702fd2a52229d678d1e8c90  # tags/1.3.2^0
+source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  mkdir build
+  cd $pkgname
+}
+
+build() {
+  cd build
+  meson setup --prefix=/usr --buildtype=release ../$pkgname \
+    --libexecdir=/usr/lib \
+    -Denable-gtk-doc=true \
+    -Denable-man=true
+  ninja
+}
+
+check() {
+  cd build
+  meson test || [[ $CARCH == i686 ]]
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list