mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
graphics/qiv: Updated for version 2.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
18ae116598
commit
68feb96a40
3 changed files with 12 additions and 11 deletions
3
graphics/qiv/doinst.sh
Normal file
3
graphics/qiv/doinst.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
|
@ -5,8 +5,8 @@
|
|||
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
|
||||
|
||||
PRGNAM=qiv
|
||||
VERSION=${VERSION:-2.2.4}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-2.3.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -52,13 +52,10 @@ find -L . \
|
|||
-exec chmod 644 {} \;
|
||||
|
||||
sed -i "s/-O2 -Wall/$SLKCFLAGS/" Makefile
|
||||
sed -i "s|\./qiv|echo &|" Makefile # remove test
|
||||
make
|
||||
|
||||
# Simple and stupid install
|
||||
mkdir -p $PKG/usr/bin
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
install -s -m 0755 qiv $PKG/usr/bin
|
||||
install -m 0644 qiv.1 $PKG/usr/man/man1
|
||||
make install PREFIX=$PKG/usr || true
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
@ -70,13 +67,14 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
|||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
Changelog README* intro.jpg qiv-command.example \
|
||||
Changelog README* intro.jpg contrib/ \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
|
||||
|
||||
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="qiv"
|
||||
VERSION="2.2.4"
|
||||
VERSION="2.3.1"
|
||||
HOMEPAGE="http://spiegl.de/qiv/"
|
||||
DOWNLOAD="http://spiegl.de/qiv/download/qiv-2.2.4.tgz"
|
||||
MD5SUM="1425f89c90f9c045858fccf24d894c97"
|
||||
DOWNLOAD="http://spiegl.de/qiv/download/qiv-2.3.1.tgz"
|
||||
MD5SUM="93aea7469be64ebd35277a6dac079fc8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="imlib2"
|
||||
|
|
Loading…
Reference in a new issue