diff options
-rw-r--r-- | graphics/feh/doinst.sh | 9 | ||||
-rw-r--r-- | graphics/feh/feh.SlackBuild | 16 | ||||
-rw-r--r-- | graphics/feh/feh.info | 12 |
3 files changed, 23 insertions, 14 deletions
diff --git a/graphics/feh/doinst.sh b/graphics/feh/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/graphics/feh/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/graphics/feh/feh.SlackBuild b/graphics/feh/feh.SlackBuild index 29c1260cbc..6250b80432 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} diff --git a/graphics/feh/feh.info b/graphics/feh/feh.info index 4ac7239b83..965c16698d 100644 --- a/graphics/feh/feh.info +++ b/graphics/feh/feh.info @@ -1,10 +1,10 @@ PRGNAM="feh" -VERSION="2.14" -HOMEPAGE="https://feh.finalrewind.org" -DOWNLOAD="https://feh.finalrewind.org/feh-2.14.tar.bz2" -MD5SUM="79c2e287f00071066b2857ade0b03560" +VERSION="2.19" +HOMEPAGE="http://feh.finalrewind.org" +DOWNLOAD="http://feh.finalrewind.org/feh-2.19.tar.bz2" +MD5SUM="54fc20a0f35f0e2fea24541e622ae1d7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="imlib2" -MAINTAINER="Luka Novsak" -EMAIL="lnovsak@gmail.com" +MAINTAINER="Hunter Sezen" +EMAIL="ovariegata@yahoo.com" |