diff options
Diffstat (limited to 'system/ttf-inconsolata/ttf-inconsolata.SlackBuild')
-rw-r--r-- | system/ttf-inconsolata/ttf-inconsolata.SlackBuild | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/system/ttf-inconsolata/ttf-inconsolata.SlackBuild b/system/ttf-inconsolata/ttf-inconsolata.SlackBuild index 60e1a2a65ec58..e129742c98d89 100644 --- a/system/ttf-inconsolata/ttf-inconsolata.SlackBuild +++ b/system/ttf-inconsolata/ttf-inconsolata.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for ttf-inconsolata. # -# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ttf-inconsolata -VERSION=${VERSION:-20150921.480630d} +VERSION=${VERSION:-20160814} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,16 +34,13 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -SRCVER="480630d" - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 -mv inconsolata $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -55,14 +52,13 @@ find -L . \ 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 -mkdir -p $PKG/etc/fonts/conf.avail/ -cp -a $CWD/75-ttf-inconsolata.conf $PKG/etc/fonts/conf.avail/ +install -m 644 -D $CWD/75-ttf-inconsolata.conf $PKG/etc/fonts/conf.avail/75-ttf-inconsolata.conf -mkdir -p $PKG/usr/share/fonts/TTF -cp -a Inconsolata-Bold.ttf Inconsolata-Regular.ttf $PKG/usr/share/fonts/TTF/ +install -d $PKG/usr/share/fonts/TTF/ +install -m 644 $CWD/Inconsolata-{Regular,Bold}.ttf $PKG/usr/share/fonts/TTF/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a FONTLOG.txt OFL.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $CWD/OFL.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |