diff options
author | Niki Kovacs <info@microlinux.fr> | 2016-08-14 08:40:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-14 08:40:37 +0700 |
commit | 634183274f0b89050c97c97974bb766c947f2cf6 (patch) | |
tree | 9c2d076959b8bbcb90d40fb95ed6725878cf727b /system/cantarell-fonts/cantarell-fonts.SlackBuild | |
parent | 083051208ab08c43b8e4acce5a0a78d05efdaa90 (diff) | |
download | slackbuilds-634183274f0b89050c97c97974bb766c947f2cf6.tar.gz |
system/cantarell-fonts: Use noarch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/cantarell-fonts/cantarell-fonts.SlackBuild')
-rw-r--r-- | system/cantarell-fonts/cantarell-fonts.SlackBuild | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/system/cantarell-fonts/cantarell-fonts.SlackBuild b/system/cantarell-fonts/cantarell-fonts.SlackBuild index 960e9d64ae..e9267a0d65 100644 --- a/system/cantarell-fonts/cantarell-fonts.SlackBuild +++ b/system/cantarell-fonts/cantarell-fonts.SlackBuild @@ -27,33 +27,13 @@ VERSION=${VERSION:-0.0.24} 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 - set -e rm -rf $PKG |