diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2016-11-27 22:07:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-11-28 05:44:21 +0700 |
commit | e8fffef6db3642e73a5e9e9049aa1a41af691c4c (patch) | |
tree | 26682ebc6b3fb91210179e470d9526b15a8ba2fe /system/ttf-open-sans/ttf-open-sans.SlackBuild | |
parent | 2a406c5075d9310a32d63adffa6b784e4c348019 (diff) | |
download | slackbuilds-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/ttf-open-sans/ttf-open-sans.SlackBuild')
-rw-r--r-- | system/ttf-open-sans/ttf-open-sans.SlackBuild | 28 |
1 files changed, 4 insertions, 24 deletions
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 |