mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
graphics/feh: Updated for version 2.19 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
7d453cdbc6
commit
d784317a7a
3 changed files with 23 additions and 14 deletions
9
graphics/feh/doinst.sh
Normal file
9
graphics/feh/doinst.sh
Normal file
|
@ -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
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue