From e8fffef6db3642e73a5e9e9049aa1a41af691c4c Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Sun, 27 Nov 2016 22:07:29 +0700 Subject: system/ttf-open-sans: Updated for version 1.0. Signed-off-by: Willy Sudiarto Raharjo --- system/ttf-open-sans/ttf-open-sans.SlackBuild | 28 ++++----------------------- 1 file changed, 4 insertions(+), 24 deletions(-) (limited to 'system/ttf-open-sans/ttf-open-sans.SlackBuild') diff --git a/system/ttf-open-sans/ttf-open-sans.SlackBuild b/system/ttf-open-sans/ttf-open-sans.SlackBuild index 264ab2a22f975..a6f74b0a787bf 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 -- cgit v1.2.3