diff options
author | Marek Srejma <sam_web@yahoo.de> | 2017-05-03 08:39:42 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-05-03 08:39:42 +0700 |
commit | 663be5000175c9c1a3003815eaf2b69ac45bd848 (patch) | |
tree | 59165b874bf74559a257b27f053beeda9a707e4b /libraries/libquvi/libquvi.SlackBuild | |
parent | a6bedd06db8000184e7caa520fe36a66171ed3ed (diff) | |
download | slackbuilds-663be5000175c9c1a3003815eaf2b69ac45bd848.tar.gz |
libraries/libquvi: Updated for version 0.9.4, new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libquvi/libquvi.SlackBuild')
-rw-r--r-- | libraries/libquvi/libquvi.SlackBuild | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/libraries/libquvi/libquvi.SlackBuild b/libraries/libquvi/libquvi.SlackBuild index a678e04dc7..fe0c4e083d 100644 --- a/libraries/libquvi/libquvi.SlackBuild +++ b/libraries/libquvi/libquvi.SlackBuild @@ -4,16 +4,16 @@ # Made by trebol 2012/12/13 # Modified by crocket <crockabiscuit@gmail.com> -# Maintained by slackmuz <petar.linog@gmail.com> +# Modified by Marek Srejma <sam_web@yahoo.de> 2017/05/03 PRGNAM=libquvi -VERSION=${VERSION:-0.4.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.9.4} +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 @@ -24,8 +24,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" @@ -38,7 +38,7 @@ else LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README ABOUT-NLS VERSION" set -e @@ -46,7 +46,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -74,7 +74,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true 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 +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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION |