[arch-commits] Commit in json-glib/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Mar 1 16:11:35 UTC 2018


    Date: Thursday, March 1, 2018 @ 16:11:33
  Author: heftig
Revision: 317692

archrelease: copy trunk to extra-x86_64

Added:
  json-glib/repos/extra-x86_64/PKGBUILD
    (from rev 317690, json-glib/trunk/PKGBUILD)
Deleted:
  json-glib/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 39 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-01 16:11:27 UTC (rev 317691)
+++ PKGBUILD	2018-03-01 16:11:33 UTC (rev 317692)
@@ -1,42 +0,0 @@
-# $Id$
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=json-glib
-pkgver=1.4.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=68e90dafac7022fc467bac8d2dd04d3f8a5a88a7  # tags/1.4.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 -Ddocs=true
-  ninja
-}
-
-check() {
-  cd build
-  meson test || [[ $CARCH == i686 ]]
-}
-
-package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-}

Copied: json-glib/repos/extra-x86_64/PKGBUILD (from rev 317690, json-glib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-01 16:11:33 UTC (rev 317692)
@@ -0,0 +1,39 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=json-glib
+pkgver=1.4.2
+pkgrel=2
+pkgdesc="JSON library built on GLib"
+url="https://wiki.gnome.org/Projects/JsonGlib"
+arch=(x86_64)
+license=(GPL)
+depends=(glib2)
+makedepends=(gobject-introspection git gtk-doc meson)
+_commit=68e90dafac7022fc467bac8d2dd04d3f8a5a88a7  # tags/1.4.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() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -Ddocs=true
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  rm -r "$pkgdir"/usr/{lib,share}/installed-tests
+}



More information about the arch-commits mailing list