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

Jan Steffens heftig at archlinux.org
Wed Mar 29 20:20:15 UTC 2017


    Date: Wednesday, March 29, 2017 @ 20:20:14
  Author: heftig
Revision: 291823

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 291822, json-glib/trunk/PKGBUILD)
  json-glib/repos/gnome-unstable-x86_64/
  json-glib/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 291822, json-glib/trunk/PKGBUILD)

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

Copied: json-glib/repos/gnome-unstable-i686/PKGBUILD (from rev 291822, json-glib/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2017-03-29 20:20:14 UTC (rev 291823)
@@ -0,0 +1,43 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=json-glib
+pkgver=1.2.8
+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=f97b6ca9c684bc7adf9b07043b62ecd7443272fc  # tags/1.2.8^0
+source=("git+https://git.gnome.org/browse/json-glib#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  mkdir build
+  cd $pkgname
+}
+
+build() {
+  cd build
+  export LANG=en_US.UTF-8
+  meson --prefix=/usr --buildtype=release ../$pkgname --libexecdir=/usr/lib \
+    -Denable-gtk-doc=true -Denable-man=true
+  ninja
+}
+
+check() {
+  cd build
+  ninja test
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}

Copied: json-glib/repos/gnome-unstable-x86_64/PKGBUILD (from rev 291822, json-glib/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2017-03-29 20:20:14 UTC (rev 291823)
@@ -0,0 +1,43 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=json-glib
+pkgver=1.2.8
+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=f97b6ca9c684bc7adf9b07043b62ecd7443272fc  # tags/1.2.8^0
+source=("git+https://git.gnome.org/browse/json-glib#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  mkdir build
+  cd $pkgname
+}
+
+build() {
+  cd build
+  export LANG=en_US.UTF-8
+  meson --prefix=/usr --buildtype=release ../$pkgname --libexecdir=/usr/lib \
+    -Denable-gtk-doc=true -Denable-man=true
+  ninja
+}
+
+check() {
+  cd build
+  ninja test
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list