diff options
author | Jisa <jisa0224@gmail.com> | 2019-01-24 20:12:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-01-25 12:10:52 +0700 |
commit | 463a254c2c638e900812be3375e47805ed53918f (patch) | |
tree | 32651c6cb7291c96957b52ec5c843fff19f137b4 /libraries/libchewing | |
parent | e337121e8368be5b4143e7c415744648ce34c82b (diff) |
libraries/libchewing: Updated for version 0.5.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libchewing')
-rw-r--r-- | libraries/libchewing/libchewing.SlackBuild | 27 | ||||
-rw-r--r-- | libraries/libchewing/libchewing.info | 10 |
2 files changed, 21 insertions, 16 deletions
diff --git a/libraries/libchewing/libchewing.SlackBuild b/libraries/libchewing/libchewing.SlackBuild index eaf7ae0ff1440..d095d44a59f99 100644 --- a/libraries/libchewing/libchewing.SlackBuild +++ b/libraries/libchewing/libchewing.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for libchewing # Copyright 2010,2011 Guan-Zhong Huang, Taiwan <imprazaguy@gmail.com> +# Copyright 2019 Jisa <jisa0224@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libchewing -VERSION=${VERSION:-0.3.3} +VERSION=${VERSION:-0.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -54,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -64,10 +65,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -75,20 +76,24 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-static=no \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ + AUTHORS COPYING ChangeLog NEWS README.md TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/share/info/dir +gzip -9 $PKG/usr/share/info/*.info* + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/libchewing/libchewing.info b/libraries/libchewing/libchewing.info index 6dcc2775704d3..087fb248115d4 100644 --- a/libraries/libchewing/libchewing.info +++ b/libraries/libchewing/libchewing.info @@ -1,10 +1,10 @@ PRGNAM="libchewing" -VERSION="0.3.3" +VERSION="0.5.1" HOMEPAGE="http://chewing.csie.net" -DOWNLOAD="https://github.com/downloads/chewing/libchewing/libchewing-0.3.3.tar.bz2" -MD5SUM="8f1ff6ccdc17c36a5ce6c6864f30f3c2" +DOWNLOAD="https://github.com/chewing/libchewing/releases/download/v0.5.1/libchewing-0.5.1.tar.bz2" +MD5SUM="2739d5c5697db2eb1d097b6bfb73bf0c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Guan-Zhong Huang" -EMAIL="imprazaguy@gmail.com" +MAINTAINER="Jisa" +EMAIL="jisa0224@gmail.com" |