aboutsummaryrefslogtreecommitdiff
path: root/graphics/sxiv/sxiv.SlackBuild
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2017-11-03 23:02:35 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-11-03 23:18:39 +0000
commite98472e5a5dbb87437130d65b0571a1566c7d480 (patch)
treea908b37c5572fdf206a67a0b121d176f67ee42f3 /graphics/sxiv/sxiv.SlackBuild
parent85abf79273563b4c749c97a47bb98df770730a54 (diff)
graphics/sxiv: Updated for version 24.
They changed numeration. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/sxiv/sxiv.SlackBuild')
-rw-r--r--graphics/sxiv/sxiv.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/sxiv/sxiv.SlackBuild b/graphics/sxiv/sxiv.SlackBuild
index 3bd232ee81c5..0766d46b5865 100644
--- a/graphics/sxiv/sxiv.SlackBuild
+++ b/graphics/sxiv/sxiv.SlackBuild
@@ -25,7 +25,7 @@
# Modified by Eugene M., <damagedone at gmx dot com>
PRGNAM=sxiv
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,9 +74,11 @@ find -L . \
make install \
PREFIX=/usr \
MANPREFIX=/usr/man \
- CFLAGS="-Wall -pedantic $SLKCFLAGS -I/usr/include -DHAVE_GIFLIB" \
+ CFLAGS="-std=c99 -Wall -pedantic $SLKCFLAGS -I/usr/include -DHAVE_GIFLIB" \
DESTDIR=$PKG
+make -C icon PREFIX=/usr DESTDIR=$PKG install
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -91,6 +93,7 @@ install -D -m 0644 ./sxiv.desktop $PKG/usr/share/applications/sxiv.desktop
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}