aboutsummaryrefslogtreecommitdiff
path: root/system/ttf-roboto/ttf-roboto.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-08-05 06:18:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-05 06:18:19 +0700
commit32d10c852ee1a9d56886bd56ba623e4834bb231b (patch)
tree995c72de7f58f3154b7ae0449dcaaf298983c57d /system/ttf-roboto/ttf-roboto.SlackBuild
parented486d99233598925685d894bf582e522346c919 (diff)
system/ttf-roboto: Updated for version 2.138.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-roboto/ttf-roboto.SlackBuild')
-rw-r--r--system/ttf-roboto/ttf-roboto.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/ttf-roboto/ttf-roboto.SlackBuild b/system/ttf-roboto/ttf-roboto.SlackBuild
index 7497f63fa0de..5c5c470db098 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-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-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-roboto
-VERSION=${VERSION:-2.136}
+VERSION=${VERSION:-2.138}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,16 +34,16 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+SRCNAM="roboto-unhinted"
-SRCNAM="roboto-hinted"
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM $PRGNAM-$VERSION
-unzip $CWD/$SRCNAM.zip
-mv $SRCNAM $PRGNAM-$VERSION/
+mkdir -p $PRGNAM-$VERSION
+unzip -d $PRGNAM-$VERSION $CWD/$SRCNAM.zip
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -59,7 +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
+cp LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install