summaryrefslogtreecommitdiff
path: root/system/ttf-open-sans/ttf-open-sans.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ttf-open-sans/ttf-open-sans.SlackBuild')
-rw-r--r--system/ttf-open-sans/ttf-open-sans.SlackBuild28
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