diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2016-11-27 12:31:50 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-03 07:17:45 +0700 |
commit | d72033ca883a1c7031bbf3a74c71508a68aaf605 (patch) | |
tree | 90fc57fac298bd36075af61c7567d32a86df306b /system/ttf-roboto/ttf-roboto.SlackBuild | |
parent | 59be4c9b6c4b49177afcc4a4b712590ad55c258b (diff) | |
download | slackbuilds-d72033ca883a1c7031bbf3a74c71508a68aaf605.tar.gz |
system/ttf-roboto: Updated for version 2.135.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ttf-roboto/ttf-roboto.SlackBuild')
-rw-r--r-- | system/ttf-roboto/ttf-roboto.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/system/ttf-roboto/ttf-roboto.SlackBuild b/system/ttf-roboto/ttf-roboto.SlackBuild index a89af27ed4..a0e6ff3e0b 100644 --- a/system/ttf-roboto/ttf-roboto.SlackBuild +++ b/system/ttf-roboto/ttf-roboto.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for ttf-roboto. # -# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2016 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-roboto -VERSION=${VERSION:-0.1} +VERSION=${VERSION:-2.135} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,14 +36,14 @@ OUTPUT=${OUTPUT:-/tmp} set -e -SRCNAM="RobotoTTF" +SRCNAM="roboto-hinted" rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -mkdir $PRGNAM-$VERSION -unzip $CWD/$SRCNAM.zip -d $PRGNAM-$VERSION/ +rm -rf $SRCNAM $PRGNAM-$VERSION +unzip $CWD/$SRCNAM.zip +mv $SRCNAM $PRGNAM-$VERSION/ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -59,6 +59,7 @@ mkdir -p $PKG/usr/share/fonts/TTF install -Dm644 Roboto*.ttf $PKG/usr/share/fonts/TTF/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |