summaryrefslogtreecommitdiff
path: root/graphics/fim
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-10-25 07:17:46 +0300
committerDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-10-25 07:17:46 +0300
commitd0c2bc003c6c57e174ded2473b3e0d39348ad390 (patch)
treeb6e98f51d300dad6935f66f415c5d24c490518a4 /graphics/fim
parent0649f6b39ef768c2ba072764b3477ce14697a2be (diff)
downloadslackbuilds-d0c2bc003c6c57e174ded2473b3e0d39348ad390.tar.gz
graphics/fim: Updated for version 0.4_rc1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'graphics/fim')
-rw-r--r--graphics/fim/doinst.sh3
-rw-r--r--graphics/fim/fim.SlackBuild18
-rw-r--r--graphics/fim/fim.info6
3 files changed, 13 insertions, 14 deletions
diff --git a/graphics/fim/doinst.sh b/graphics/fim/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/graphics/fim/doinst.sh
@@ -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
diff --git a/graphics/fim/fim.SlackBuild b/graphics/fim/fim.SlackBuild
index c2588436eb..1512570ffd 100644
--- a/graphics/fim/fim.SlackBuild
+++ b/graphics/fim/fim.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for fim
# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Thanks B.Watson for valuable contributions
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fim
-VERSION=${VERSION:-0.4_rc0}
+VERSION=${VERSION:-0.4_rc1}
SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,9 +81,11 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
+ --disable-debug \
+ --with-default-consolefont=/usr/share/kbd/consolefonts/LatGrkCyr-8x16.psfu.gz \
--build=$ARCH-slackware-linux
-make
+make -j1
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -91,20 +94,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README COPYING NEWS THANKS VERSION \
- doc/FIM.TXT \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* COPYING NEWS THANKS VERSION doc/FIM.TXT $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}
diff --git a/graphics/fim/fim.info b/graphics/fim/fim.info
index 5bfc9bd8c9..4cd8a88775 100644
--- a/graphics/fim/fim.info
+++ b/graphics/fim/fim.info
@@ -1,8 +1,8 @@
PRGNAM="fim"
-VERSION="0.4"
+VERSION="0.4_rc1"
HOMEPAGE="http://www.autistici.org/dezperado/fim/"
-DOWNLOAD="http://www.autistici.org/dezperado/fim/fim-0.4-rc0.tar.gz"
-MD5SUM="2758790b16764960eab7c2796ac7efc3"
+DOWNLOAD="http://ftp.cc.uoc.gr/mirrors/nongnu.org/fbi-improved/fim-0.4-rc1.tar.gz"
+MD5SUM="d7362dde5541c2b6439c35c6e2bd5046"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""