diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/extra/json-c/PKGBUILD | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/extra/json-c/PKGBUILD')
-rw-r--r-- | abs/extra/json-c/PKGBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/abs/extra/json-c/PKGBUILD b/abs/extra/json-c/PKGBUILD index 70dd735..d4795e3 100644 --- a/abs/extra/json-c/PKGBUILD +++ b/abs/extra/json-c/PKGBUILD @@ -4,30 +4,30 @@ # Contributor: congyiwu <congyiwu AT gmail DOT com> pkgname=json-c -pkgver=0.12 -pkgrel=2 -pkgdesc="A JSON implementation in C" -url="https://github.com/json-c/json-c/wiki" +pkgver=0.13 +pkgrel=1 +pkgdesc='A JSON implementation in C' +url='https://github.com/json-c/json-c/wiki' license=(MIT) -arch=(i686 x86_64) -depends=(glibc) -source=(https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz) -sha256sums=('000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f') +arch=('x86_64') +depends=('glibc') +source=('https://github.com/json-c/json-c/archive/json-c-0.13-20171207.tar.gz') +sha256sums=('26e642456caab38aa9459279b9712ffec52f751e9f46641d28461c244bd6bae6') build() { - cd $pkgname-$pkgver + cd $pkgname-$pkgname-$pkgver-20171207 CFLAGS="$CFLAGS -Wno-error" ./configure --prefix=/usr --disable-static make } check() { - cd $pkgname-$pkgver + cd $pkgname-$pkgname-$pkgver-20171207 make check } package() { - cd $pkgname-$pkgver + cd $pkgname-$pkgname-$pkgver-20171207 make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } |