* update json-glib to 1.8.0-1
This commit is contained in:
parent
f6412ea659
commit
f6e794a5f0
@ -3,23 +3,33 @@
|
||||
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
||||
|
||||
pkgbase=json-glib
|
||||
pkgname=(json-glib json-glib-docs)
|
||||
pkgver=1.6.6
|
||||
pkgrel=2
|
||||
pkgname=(
|
||||
json-glib
|
||||
json-glib-docs
|
||||
)
|
||||
pkgver=1.8.0
|
||||
pkgrel=1
|
||||
pkgdesc="JSON library built on GLib"
|
||||
url="https://wiki.gnome.org/Projects/JsonGlib"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=(GPL)
|
||||
depends=(glib2)
|
||||
makedepends=(gobject-introspection git meson gi-docgen docbook-xsl)
|
||||
options=(debug)
|
||||
_commit=3cf2b53667a73376c852e08dcadd197a5f8325b9 # tags/1.6.6^0
|
||||
depends=(
|
||||
glib2
|
||||
)
|
||||
makedepends=(
|
||||
docbook-xsl
|
||||
gi-docgen
|
||||
git
|
||||
gobject-introspection
|
||||
meson
|
||||
)
|
||||
_commit=66413437f80f6bd935827eef51dde47c0a114144 # tags/1.8.0-actual^0
|
||||
source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#commit=$_commit")
|
||||
sha256sums=('SKIP')
|
||||
b2sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd json-glib
|
||||
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||
git describe --tags | sed 's/-actual//;s/[^-]*-g/r&/;s/-/+/g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
@ -27,7 +37,11 @@ prepare() {
|
||||
}
|
||||
|
||||
build() {
|
||||
arch-meson json-glib build -D man=true
|
||||
local meson_options=(
|
||||
-D man=true
|
||||
)
|
||||
|
||||
arch-meson json-glib build "${meson_options[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
@ -43,7 +57,7 @@ package_json-glib() {
|
||||
|
||||
mkdir -p doc/usr/share
|
||||
mv {"$pkgdir",doc}/usr/share/doc
|
||||
|
||||
|
||||
rm -r "$pkgdir"/usr/{lib,share}/installed-tests
|
||||
}
|
||||
|
||||
@ -54,4 +68,4 @@ package_json-glib-docs() {
|
||||
mv doc/* "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:set sw=2 et:
|
||||
# vim:set sw=2 sts=-1 et:
|
||||
|
Loading…
x
Reference in New Issue
Block a user