mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
graphics/sxiv: Updated for version 24.
They changed numeration. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
85abf79273
commit
e98472e5a5
3 changed files with 21 additions and 5 deletions
13
graphics/sxiv/doinst.sh
Normal file
13
graphics/sxiv/doinst.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -x /usr/bin/update-mime-database ]; then
|
||||
/usr/bin/update-mime-database usr/share/mime >/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
|
|
@ -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}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="sxiv"
|
||||
VERSION="1.3.2"
|
||||
VERSION="24"
|
||||
HOMEPAGE="https://github.com/muennich/sxiv"
|
||||
DOWNLOAD="https://github.com/muennich/sxiv/archive/v1.3.2/sxiv-1.3.2.tar.gz"
|
||||
MD5SUM="44822b3d4672a7ed22f1a14c86a0914f"
|
||||
DOWNLOAD="https://github.com/muennich/sxiv/archive/v24/sxiv-24.tar.gz"
|
||||
MD5SUM="a929f8ae19f947a23594fdce2b3cf38d"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="imlib2"
|
||||
|
|
Loading…
Reference in a new issue