mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
28 lines
626 B
Bash
28 lines
626 B
Bash
pkgname=json-glib
|
|
pkgver=1.2.2
|
|
pkgrel=1
|
|
pkgdesc="JSON library built on GLib"
|
|
arch=('x86_64')
|
|
url="http://live.gnome.org/JsonGlib"
|
|
license=('GPL')
|
|
depends=('glib2')
|
|
makedepends=('gobject-introspection' 'python2')
|
|
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=('ea128ab52a824fcd06e5448fbb2bd8d9a13740d51c66d445828edba71321a621')
|
|
|
|
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
|
|
}
|