# Maintainer: Shuanglei Tao <tsl0922@gmail.com>
pkgname=json-c
-pkgver=0.12.1
+pkgver=0.13.1
pkgrel=1
pkgdesc="A JSON implementation in C"
arch=('i686' 'x86_64')
license=('MIT')
makedepends=('gcc' 'make' 'autoconf')
source=("https://s3.amazonaws.com/json-c_releases/releases/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('2a136451a7932d80b7d197b10441e26e39428d67b1443ec43bbba824705e1123')
+sha256sums=('b87e608d4d3f7bfdd36ef78d56d53c74e66ab278d318b71e6002a369d36f4873')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# Maintainer: Shuanglei Tao <tsl0922@gmail.com>
pkgname="libwebsockets"
-pkgver=2.1.0
+pkgver=2.4.2
pkgrel=1
pkgdesc="A lightweight pure C library for websockets (msys)"
arch=('i686' 'x86_64')
license=('LGPL 2.1')
makedepends=('gcc' 'cmake' 'zlib-devel' 'openssl-devel')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/warmcat/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('bcc96aaa609daae4d3f7ab1ee480126709ef4f6a8bf9c85de40aae48e38cce66')
+sha256sums=('73012d7fcf428dedccc816e83a63a01462e27819d5537b8e0d0c7264bfacfad6')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
license=('MIT')
makedepends=('gcc' 'cmake' 'json-c' 'libwebsockets' 'vim')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/tsl0922/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('6e85335c11df68e6401178269920a586bce7e66045bd0b225f6d2bc58356d105')
+sha256sums=('757a9b5b5dd3de801d7db8fab6035d97ea144b02a51c78bdab28a8e07bcf05d6')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"