mint-y-icons: Use noarch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-05-06 21:30:25 +07:00
parent a47125ebde
commit 9204c25042
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -28,13 +28,7 @@ COMMITVER=${COMMITVER:-3c367b02056a7f4e7b2b5cbed9cce70527c4391b}
BUILD=${BUILD:-2}
TAG=${TAG:-_csb}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
ARCH=noarch
wget -c https://github.com/linuxmint/mint-y-icons/archive/$COMMITVER.zip
@ -43,20 +37,6 @@ TMP=${TMP:-/tmp/csb}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -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