diff options
Diffstat (limited to 'libraries/qutepart/qutepart.SlackBuild')
-rw-r--r-- | libraries/qutepart/qutepart.SlackBuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/libraries/qutepart/qutepart.SlackBuild b/libraries/qutepart/qutepart.SlackBuild index f178adbcf3..665bc5190a 100644 --- a/libraries/qutepart/qutepart.SlackBuild +++ b/libraries/qutepart/qutepart.SlackBuild @@ -1,6 +1,9 @@ #!/bin/sh + # Slackware build script for qutepart -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org + +# Copyright 2012-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -21,7 +24,7 @@ # <http://www.gnu.org/licenses/>. PRGNAM=qutepart -VERSION=${VERSION:-2.2.2} +VERSION=${VERSION:-2.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -29,7 +32,7 @@ DOCS="ChangeLog LICENSE README.md doc/" 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 +43,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" @@ -60,11 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |