diff options
author | Eugene M <damagedone@gmx.com> | 2017-01-06 20:30:41 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-06 20:30:41 +0700 |
commit | eef054355f292ee2eae6af81f2a7add6dfb4a8d3 (patch) | |
tree | 27d9a88229c9281ad60d4af7b499252c5347cae3 /graphics | |
parent | 5e2dfef7a7adb1398cd10bec098743abf9470296 (diff) | |
download | slackbuilds-eef054355f292ee2eae6af81f2a7add6dfb4a8d3.tar.gz |
graphics/sxiv: Updated for version 1.3.2 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sxiv/README | 2 | ||||
-rw-r--r-- | graphics/sxiv/sxiv.SlackBuild | 18 | ||||
-rw-r--r-- | graphics/sxiv/sxiv.info | 10 |
3 files changed, 17 insertions, 13 deletions
diff --git a/graphics/sxiv/README b/graphics/sxiv/README index 743d519c86..1be3f626bc 100644 --- a/graphics/sxiv/README +++ b/graphics/sxiv/README @@ -1,4 +1,4 @@ -sxiv is an alternative to feh and qiv. Its only dependencies besides +Sxiv is an alternative to feh and qiv. Its only dependencies besides xlib are imlib2 and giflib. The primary goal for writing sxiv is to create an image viewer, which only has the most basic features required for fast image viewing. diff --git a/graphics/sxiv/sxiv.SlackBuild b/graphics/sxiv/sxiv.SlackBuild index 9638ccbcb2..3bd232ee81 100644 --- a/graphics/sxiv/sxiv.SlackBuild +++ b/graphics/sxiv/sxiv.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sxiv -# Copyright 2013 Ken Rimlinger +# Copyright 2013-2017 Ken Rimlinger # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,14 +22,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Modified by Eugene M., <damagedone at gmx dot com> + PRGNAM=sxiv -VERSION=${VERSION:-1.3.1} +VERSION=${VERSION:-1.3.2} 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 +42,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,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -72,7 +74,7 @@ find -L . \ make install \ PREFIX=/usr \ MANPREFIX=/usr/man \ - CFLAGS="-std=c99 -Wall -pedantic $SLKCFLAGS -I/usr/include -DHAVE_GIFLIB" \ + CFLAGS="-Wall -pedantic $SLKCFLAGS -I/usr/include -DHAVE_GIFLIB" \ DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -85,6 +87,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +install -D -m 0644 ./sxiv.desktop $PKG/usr/share/applications/sxiv.desktop + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/graphics/sxiv/sxiv.info b/graphics/sxiv/sxiv.info index 705af4ce18..94f16bb607 100644 --- a/graphics/sxiv/sxiv.info +++ b/graphics/sxiv/sxiv.info @@ -1,10 +1,10 @@ PRGNAM="sxiv" -VERSION="1.3.1" +VERSION="1.3.2" HOMEPAGE="https://github.com/muennich/sxiv" -DOWNLOAD="https://github.com/muennich/sxiv/archive/v1.3.1.tar.gz" -MD5SUM="3255d0d47e0a4cddd752ec03ee4bddaf" +DOWNLOAD="https://github.com/muennich/sxiv/archive/v1.3.2/sxiv-1.3.2.tar.gz" +MD5SUM="44822b3d4672a7ed22f1a14c86a0914f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="imlib2" -MAINTAINER="Ken Rimlinger" -EMAIL="ken@nurupoga.org" +MAINTAINER="Eugene M." +EMAIL="damagedone@gmx.com" |