mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
33 lines
707 B
Bash
33 lines
707 B
Bash
# Maintainer: Manuel "UtG" <utg[dot]chakra.linux[at]gmail[dot]com>
|
|
|
|
pkgname=json-glib
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="JSON library built on GLib"
|
|
arch=('x86_64')
|
|
url="http://live.gnome.org/JsonGlib"
|
|
license=('GPL')
|
|
depends=('glib2')
|
|
makedepends=('gobject-introspection')
|
|
options=('!libtool')
|
|
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=('dbf558d2da989ab84a27e4e13daa51ceaa97eb959c2c2f80976c9322a8f4cdde')
|
|
|
|
|
|
build(){
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package(){
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR=${pkgdir} install
|
|
}
|
|
|
|
check(){
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make check
|
|
}
|
|
|