summaryrefslogtreecommitdiff
path: root/graphics/fim/fim.SlackBuild
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/fim.SlackBuild
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/fim.SlackBuild')
-rw-r--r--graphics/fim/fim.SlackBuild18
1 files changed, 7 insertions, 11 deletions
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}