[arch-commits] Commit in json-c/trunk (PKGBUILD)
Jan Steffens
heftig at nymeria.archlinux.org
Fri Jun 7 17:02:25 UTC 2013
Date: Friday, June 7, 2013 @ 19:02:24
Author: heftig
Revision: 187874
0.11
Modified:
json-c/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++-----------------
1 file changed, 10 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-06-07 13:39:39 UTC (rev 187873)
+++ PKGBUILD 2013-06-07 17:02:24 UTC (rev 187874)
@@ -3,26 +3,19 @@
# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
# Contributor: congyiwu <congyiwu AT gmail DOT com>
pkgname=json-c
-pkgver=0.10
-pkgrel=2
+pkgver=0.11
+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://github.com/downloads/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('a4edc79410eb894f08d7d52ca9f88732')
-options=(!libtool)
+license=(MIT)
+arch=(i686 x86_64)
+depends=(glibc)
+options=(!libtool !makeflags)
+source=(https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz)
+sha256sums=('28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c')
+
build() {
cd $pkgname-$pkgver
-
- ## from http://pkgs.fedoraproject.org/cgit/json-c.git/tree/json-c.spec
- # Hack to get json_object_iterator.c compiled
- sed -e 's/json_object.c/json_object.c json_object_iterator.c/' \
- -e 's/json_object.h/json_object.h json_object_iterator.h/' \
- -e 's/json_object.lo/json_object.lo json_object_iterator.lo/' \
- -i Makefile.in
-
./configure --prefix=/usr --disable-static
make
}
@@ -30,5 +23,5 @@
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
- install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
More information about the arch-commits
mailing list