diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-09 23:40:35 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 46a4edd18947bf1a640e444d2e0c7de29851af95 (patch) | |
tree | b4409aba20a029aeeb3fe222d87c4d5bd0ef1344 /libraries/json-glib | |
parent | 1a19e95dda799c39adfdd4ff88761e1c21e8db9c (diff) |
libraries/json-glib: Updated for version 1.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/json-glib')
-rw-r--r-- | libraries/json-glib/json-glib.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/json-glib/json-glib.info | 6 |
2 files changed, 10 insertions, 8 deletions
diff --git a/libraries/json-glib/json-glib.SlackBuild b/libraries/json-glib/json-glib.SlackBuild index e482bc396a93..7296f7b77ed4 100644 --- a/libraries/json-glib/json-glib.SlackBuild +++ b/libraries/json-glib/json-glib.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=json-glib -VERSION=0.14.2 +VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,14 +60,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -82,9 +82,11 @@ CFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ABOUT-NLS COPYING ChangeLog NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS COPYING ChangeLog NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild ln -s /usr/share/gtk-doc/html/json-glib $PKG/usr/doc/$PRGNAM-$VERSION/html diff --git a/libraries/json-glib/json-glib.info b/libraries/json-glib/json-glib.info index 94f155228b4e..5cbedefe1d32 100644 --- a/libraries/json-glib/json-glib.info +++ b/libraries/json-glib/json-glib.info @@ -1,8 +1,8 @@ PRGNAM="json-glib" -VERSION="0.14.2" +VERSION="1.0.4" HOMEPAGE="http://live.gnome.org/JsonGlib" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.14/json-glib-0.14.2.tar.bz2" -MD5SUM="5716a181a2b85268f53a1fb0c8024c4a" +DOWNLOAD="http://ftp.acc.umu.se/pub/GNOME/sources/json-glib/1.0/json-glib-1.0.4.tar.xz" +MD5SUM="3131b0417ecde3da1ae72acceaa375cf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |