aboutsummaryrefslogtreecommitdiff
path: root/graphics/fim
diff options
context:
space:
mode:
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 0000000000000..5fb28930db0b9
--- /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 c2588436ebfcb..1512570ffd222 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 5bfc9bd8c91eb..4cd8a887756b4 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=""