summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-11-27 22:07:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-28 05:44:21 +0700
commite8fffef6db3642e73a5e9e9049aa1a41af691c4c (patch)
tree26682ebc6b3fb91210179e470d9526b15a8ba2fe /system
parent2a406c5075d9310a32d63adffa6b784e4c348019 (diff)
downloadslackbuilds-e8fffef6db3642e73a5e9e9049aa1a41af691c4c.tar.gz
system/ttf-open-sans: Updated for version 1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/ttf-open-sans/slack-desc2
-rw-r--r--system/ttf-open-sans/ttf-open-sans.SlackBuild28
-rw-r--r--system/ttf-open-sans/ttf-open-sans.info4
3 files changed, 7 insertions, 27 deletions
diff --git a/system/ttf-open-sans/slack-desc b/system/ttf-open-sans/slack-desc
index 6a3b7844d2..48803b95df 100644
--- a/system/ttf-open-sans/slack-desc
+++ b/system/ttf-open-sans/slack-desc
@@ -12,7 +12,7 @@ ttf-open-sans: Open Sans a humanist sans serif typeface designed by Steve Mattes
ttf-open-sans: This version contains the complete 897 character set, which includes
ttf-open-sans: the standard ISO Latin 1, Latin CE, Greek and Cyrillic character sets.
ttf-open-sans:
-ttf-open-sans: Home page: http://www.1001fonts.com/open-sans-font.html
+ttf-open-sans: Home page: https://fonts.google.com/specimen/Open+Sans
ttf-open-sans:
ttf-open-sans:
ttf-open-sans:
diff --git a/system/ttf-open-sans/ttf-open-sans.SlackBuild b/system/ttf-open-sans/ttf-open-sans.SlackBuild
index 264ab2a22f..a6f74b0a78 100644
--- a/system/ttf-open-sans/ttf-open-sans.SlackBuild
+++ b/system/ttf-open-sans/ttf-open-sans.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for ttf-open-sans.
#
-# 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,41 +23,21 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ttf-open-sans
-VERSION=${VERSION:-0.1}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
+SRCNAM="open-sans"
set -e
-SRCNAM="open-sans"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
diff --git a/system/ttf-open-sans/ttf-open-sans.info b/system/ttf-open-sans/ttf-open-sans.info
index d1e1bca22b..af5dd862d4 100644
--- a/system/ttf-open-sans/ttf-open-sans.info
+++ b/system/ttf-open-sans/ttf-open-sans.info
@@ -1,6 +1,6 @@
PRGNAM="ttf-open-sans"
-VERSION="0.1"
-HOMEPAGE="http://www.1001fonts.com/open-sans-font.html"
+VERSION="1.0"
+HOMEPAGE="https://fonts.google.com/specimen/Open+Sans"
DOWNLOAD="http://dl.1001fonts.com/open-sans.zip"
MD5SUM="e628ed23fb53515a0d26644dd15c96be"
DOWNLOAD_x86_64=""