diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2016-12-03 22:47:30 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-04 19:28:52 +0000 |
commit | 43963cd546023bd3514492bf4e333623f32d9951 (patch) | |
tree | e4135caf8b7553afee725adfdcf33f3be55b8639 /system/ttf-monaco/ttf-monaco.SlackBuild | |
parent | 36c7490b674c97643ed2819a0fc4833bfc8408df (diff) |
system/ttf-monaco: Updated for version 1.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ttf-monaco/ttf-monaco.SlackBuild')
-rw-r--r-- | system/ttf-monaco/ttf-monaco.SlackBuild | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/system/ttf-monaco/ttf-monaco.SlackBuild b/system/ttf-monaco/ttf-monaco.SlackBuild index 10bef3482f4b..7e133d3de238 100644 --- a/system/ttf-monaco/ttf-monaco.SlackBuild +++ b/system/ttf-monaco/ttf-monaco.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for ttf-monaco. # -# 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-monaco -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="Monaco_Linux" set -e -SRCNAM="Monaco_Linux" - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP |