mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 03:47:16 +08:00
35 lines
750 B
Bash
35 lines
750 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Weng Xuetian <wengxt AT gmail com>
|
|
|
|
pkgname=json-glib
|
|
pkgver=0.16.0
|
|
pkgrel=1
|
|
pkgdesc="JSON library built on GLib"
|
|
arch=('i686' '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::4}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=('e4a3fd2f399e4c148aad608e6ed0a94095f2ddde9dd12f5aa2f072ecae5c1d37')
|
|
|
|
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
|
|
}
|
|
|