[arch-commits] Commit in json-c/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Dec 24 21:09:46 UTC 2017


    Date: Sunday, December 24, 2017 @ 21:09:45
  Author: jelle
Revision: 313592

upgpkg: json-c 0.13-1

update to 0.13

Modified:
  json-c/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-24 16:46:08 UTC (rev 313591)
+++ PKGBUILD	2017-12-24 21:09:45 UTC (rev 313592)
@@ -4,7 +4,7 @@
 # Contributor: congyiwu <congyiwu AT gmail DOT com>
 
 pkgname=json-c
-pkgver=0.12.1
+pkgver=0.13
 pkgrel=1
 pkgdesc='A JSON implementation in C'
 url='https://github.com/json-c/json-c/wiki'
@@ -11,11 +11,11 @@
 license=(MIT)
 arch=('x86_64')
 depends=('glibc')
-source=(https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz)
-sha256sums=('2a136451a7932d80b7d197b10441e26e39428d67b1443ec43bbba824705e1123')
+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
@@ -22,12 +22,12 @@
 }
 
 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"
 }



More information about the arch-commits mailing list