summaryrefslogtreecommitdiff
path: root/json-glib/Pkgfile
blob: 2b4119769b7b4379aed40b4f1b4a2a8969e17acb (plain)
    1 # Description: serialization and deserialization of JSON objects
    2 # URL: https://wiki.gnome.org/action/show/Projects/JsonGlib
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: glib meson ninja gobject-introspection
    5 
    6 name=json-glib
    7 version=1.6.6
    8 release=1
    9 source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
   10 
   11 build() {
   12   sed "/^subdir('po')/d" -i $name-$version/meson.build
   13 
   14   meson setup build $name-$version \
   15     --prefix=/usr \
   16     --buildtype=plain \
   17     --wrap-mode nodownload \
   18     -D b_lto=true \
   19     -D b_pie=true \
   20     -D gtk_doc=disabled \
   21     -D tests=false
   22 
   23   meson compile -C build -j ${JOBS:-1}
   24   DESTDIR=$PKG meson install -C build
   25 }

Generated by cgit