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

Jan Steffens heftig at gemini.archlinux.org
Fri Apr 1 19:20:33 UTC 2022


    Date: Friday, April 1, 2022 @ 19:20:33
  Author: heftig
Revision: 441197

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |  111 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-01 19:20:16 UTC (rev 441196)
+++ PKGBUILD	2022-04-01 19:20:33 UTC (rev 441197)
@@ -1,55 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=json-glib
-pkgname=(json-glib json-glib-docs)
-pkgver=1.6.6
-pkgrel=1
-pkgdesc="JSON library built on GLib"
-url="https://wiki.gnome.org/Projects/JsonGlib"
-arch=(x86_64)
-license=(GPL)
-depends=(glib2)
-makedepends=(gobject-introspection git meson gi-docgen docbook-xsl)
-_commit=3cf2b53667a73376c852e08dcadd197a5f8325b9  # tags/1.6.6^0
-source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd json-glib
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd json-glib
-}
-
-build() {
-  arch-meson json-glib build -D man=true
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package_json-glib() {
-  depends+=(libg{lib,object,io}-2.0.so)
-  provides+=(libjson-glib-1.0.so)
-
-  meson install -C build --destdir "$pkgdir"
-
-  mkdir -p doc/usr/share
-  mv {"$pkgdir",doc}/usr/share/doc
-  
-  rm -r "$pkgdir"/usr/{lib,share}/installed-tests
-}
-
-package_json-glib-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-
-  mv doc/* "$pkgdir"
-}
-
-# vim:set sw=2 et:

Copied: json-glib/repos/extra-x86_64/PKGBUILD (from rev 441196, json-glib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-01 19:20:33 UTC (rev 441197)
@@ -0,0 +1,56 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=json-glib
+pkgname=(json-glib json-glib-docs)
+pkgver=1.6.6
+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 meson gi-docgen docbook-xsl)
+options=(debug)
+_commit=3cf2b53667a73376c852e08dcadd197a5f8325b9  # tags/1.6.6^0
+source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd json-glib
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd json-glib
+}
+
+build() {
+  arch-meson json-glib build -D man=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_json-glib() {
+  depends+=(libg{lib,object,io}-2.0.so)
+  provides+=(libjson-glib-1.0.so)
+
+  meson install -C build --destdir "$pkgdir"
+
+  mkdir -p doc/usr/share
+  mv {"$pkgdir",doc}/usr/share/doc
+  
+  rm -r "$pkgdir"/usr/{lib,share}/installed-tests
+}
+
+package_json-glib-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  mv doc/* "$pkgdir"
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list