diff options
author | Donald Cooley <chytraeu@sdf.org> | 2018-01-25 22:33:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-27 07:43:49 +0700 |
commit | b66d0f7e0450042bfb41174bf9f7c4b0ccd3355e (patch) | |
tree | d62d3b3ef68023baa47b1e56db7cf6673e029741 /office/qpdfview | |
parent | 92afc997d0de4f9a925e6483777da54fdc52dc00 (diff) |
office/qpdfview: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/qpdfview')
-rw-r--r-- | office/qpdfview/qpdfview.SlackBuild | 19 | ||||
-rw-r--r-- | office/qpdfview/qpdfview.info | 2 |
2 files changed, 10 insertions, 11 deletions
diff --git a/office/qpdfview/qpdfview.SlackBuild b/office/qpdfview/qpdfview.SlackBuild index d20259c614f30..a87f09d0adef9 100644 --- a/office/qpdfview/qpdfview.SlackBuild +++ b/office/qpdfview/qpdfview.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh # Slackware build script for qpdfview +# Copyright 2017-2018 Donald Cooley South Haven, Indiana USA # Copyright 2012 Mark Noman <smithmark347@gmail.com> # All rights reserved. # @@ -21,16 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Updated and maintained by Donald Cooley - PRGNAM=qpdfview VERSION=${VERSION:-0.4.16} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -41,8 +40,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" @@ -61,7 +60,6 @@ echo $PKG rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -echo $PRGNAM-$VERSION rm -rf "$PRGNAM-$VERSION" tar xfv $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION @@ -91,8 +89,9 @@ 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 CHANGES CONTRIBUTORS COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; +cp -a \ + CHANGES CONTRIBUTORS COPYING README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -100,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/office/qpdfview/qpdfview.info b/office/qpdfview/qpdfview.info index 2777a67747fe5..0b90b385dc6e7 100644 --- a/office/qpdfview/qpdfview.info +++ b/office/qpdfview/qpdfview.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Donald Cooley" -EMAIL="dfc@warpmail.net" +EMAIL="chytraeu@sdf.org" |