33 lines
648 B
Bash
33 lines
648 B
Bash
#!/usr/bin/env bash
|
|
name='json-glib'
|
|
release='1'
|
|
version='1.6.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=()
|
|
makedepends=()
|
|
md5sums=('d8c50be019c50e61c61001feccd44269')
|
|
group=(dev.libs)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
meson setup build --prefix=/usr \
|
|
--libdir=/usr/lib64/
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install
|
|
}
|
|
|