From 0723522e155e8ece8911a86e359531d4ddbb545b Mon Sep 17 00:00:00 2001 From: Sebastien BALLET Date: Sat, 15 Jul 2017 07:12:39 +0700 Subject: system/xtrs: Fix ownership. Signed-off-by: Willy Sudiarto Raharjo --- system/xtrs/xtrs.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/xtrs/xtrs.SlackBuild b/system/xtrs/xtrs.SlackBuild index 54655389fe19..6d0f41246d80 100644 --- a/system/xtrs/xtrs.SlackBuild +++ b/system/xtrs/xtrs.SlackBuild @@ -12,7 +12,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -23,8 +23,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -72,7 +72,7 @@ cp -a fakerom.hex xtrsrom4p.hex $PKG/usr/share/xtrs # Copy icon & desktop file to package mkdir -p $PKG/usr/share/{applications,pixmaps} cat $CWD/xtrs.desktop > $PKG/usr/share/applications/xtrs.desktop -cp -a $CWD/xtrs-ico.png $PKG/usr/share/pixmaps +cp $CWD/xtrs-ico.png $PKG/usr/share/pixmaps find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -- cgit v1.2.3