aboutsummaryrefslogtreecommitdiff
path: root/graphics/feh/feh.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-07-09 19:32:53 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-07-12 16:39:17 +0100
commitd784317a7ab21d9e5917c431483ee1c724959d5b (patch)
tree1209eecd162375338fae2d7867e6383acc315da9 /graphics/feh/feh.SlackBuild
parent7d453cdbc6bacd31aec5c5019d1e89cd5373f462 (diff)
graphics/feh: Updated for version 2.19 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/feh/feh.SlackBuild')
-rw-r--r--graphics/feh/feh.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/feh/feh.SlackBuild b/graphics/feh/feh.SlackBuild
index 29c1260cbc550..6250b804321d8 100644
--- a/graphics/feh/feh.SlackBuild
+++ b/graphics/feh/feh.SlackBuild
@@ -5,6 +5,7 @@
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# Copyright 2011-2012 Grigorios Bouzakis <grbzks@imap.cc>
# Copyright 2014-2015 Luka Novsak <lnovsak@gmail.com>
+# Copyright 2017 Hunter Sezen <ovariegata@yahoo.com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -23,13 +24,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=feh
-VERSION=${VERSION:-2.14}
+VERSION=${VERSION:-2.19}
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,9 +55,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="COPYING"
-
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -88,11 +87,12 @@ 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}