aboutsummaryrefslogtreecommitdiff
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
parented486d99233598925685d894bf582e522346c919 (diff)
system/ttf-roboto: Updated for version 2.138.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/ttf-roboto/ttf-roboto.SlackBuild14
-rw-r--r--system/ttf-roboto/ttf-roboto.info6
2 files changed, 10 insertions, 10 deletions
diff --git a/system/ttf-roboto/ttf-roboto.SlackBuild b/system/ttf-roboto/ttf-roboto.SlackBuild
index 7497f63fa0dea..5c5c470db098a 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
diff --git a/system/ttf-roboto/ttf-roboto.info b/system/ttf-roboto/ttf-roboto.info
index 9ac7a6aeed5ec..c48fe7dfc85f6 100644
--- a/system/ttf-roboto/ttf-roboto.info
+++ b/system/ttf-roboto/ttf-roboto.info
@@ -1,8 +1,8 @@
PRGNAM="ttf-roboto"
-VERSION="2.136"
+VERSION="2.138"
HOMEPAGE="https://fonts.google.com/specimen/Roboto"
-DOWNLOAD="https://github.com/google/roboto/releases/download/v2.136/roboto-hinted.zip"
-MD5SUM="b796348e23f38be21c84b9bc64c04046"
+DOWNLOAD="https://github.com/google/roboto/releases/download/v2.138/roboto-unhinted.zip"
+MD5SUM="5bf2e05feff2c242a1796557aaec9953"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""