35 lines
732 B
Bash
35 lines
732 B
Bash
#!/usr/bin/env bash
|
|
name='json-glib'
|
|
release='3'
|
|
version='1.10.6'
|
|
url='https://gitlab.gnome.org/GNOME/json-glib.git/'
|
|
description='Library providing GLib serialization and deserialization for the JSON format'
|
|
email='bayramk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3')
|
|
source=("https://gitlab.gnome.org/GNOME/json-glib/-/archive/$version/json-glib-$version.tar.gz")
|
|
depends=(glib)
|
|
makedepends=()
|
|
sha256sums=('d23cbd4094a32cc05cf22cd87a83da1f799e182e286133b49fde3c9241a32006')
|
|
group=(dev.libs)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
meson setup build \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib64/ \
|
|
-Ddocumentation=disabled
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install
|
|
}
|
|
|