[arch-commits] Commit in json-glib/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 16 11:08:49 UTC 2020
Date: Saturday, May 16, 2020 @ 11:08:49
Author: felixonmars
Revision: 384250
archrelease: copy trunk to staging-x86_64
Added:
json-glib/repos/staging-x86_64/
json-glib/repos/staging-x86_64/PKGBUILD
(from rev 384248, json-glib/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: json-glib/repos/staging-x86_64/PKGBUILD (from rev 384248, json-glib/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 11:08:49 UTC (rev 384250)
@@ -0,0 +1,38 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=json-glib
+pkgver=1.4.4
+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=700a8bc414991d35ff3f79607547d4beedac8629 # tags/1.4.4^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 -D docs=true -D man=true
+ ninja -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+ rm -r "$pkgdir"/usr/{lib,share}/installed-tests
+}
More information about the arch-commits
mailing list