diff options
author | Marek Srejma <sam_web@yahoo.de> | 2017-05-03 08:37:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-05-03 08:37:53 +0700 |
commit | a6bedd06db8000184e7caa520fe36a66171ed3ed (patch) | |
tree | 17cddd0ab5516db37de8e05e6beb773f10766956 /libraries/libquvi-scripts/libquvi-scripts.SlackBuild | |
parent | 96927f68d3efcf9929ee9127c8504985f7fe6dd1 (diff) |
libraries/libquvi-scripts: Updated for version 0.9.20131130.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libquvi-scripts/libquvi-scripts.SlackBuild')
-rw-r--r-- | libraries/libquvi-scripts/libquvi-scripts.SlackBuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/libraries/libquvi-scripts/libquvi-scripts.SlackBuild b/libraries/libquvi-scripts/libquvi-scripts.SlackBuild index 0c950ba8e3261..3eee465ba9412 100644 --- a/libraries/libquvi-scripts/libquvi-scripts.SlackBuild +++ b/libraries/libquvi-scripts/libquvi-scripts.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-scripts -VERSION=${VERSION:-0.4.21} +VERSION=${VERSION:-0.9.20131130} 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 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 . \ @@ -70,7 +70,10 @@ make make install 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 +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 |