aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorSebastien BALLET <slacker6896@gmail.com>2017-07-15 07:12:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-15 07:12:39 +0700
commit0723522e155e8ece8911a86e359531d4ddbb545b (patch)
treed9891186c63de47edc38e0bb59aa802a60ef4c39 /system
parentb2e6405018705bde79508ea208290f740b2616bc (diff)
system/xtrs: Fix ownership.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/xtrs/xtrs.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/xtrs/xtrs.SlackBuild b/system/xtrs/xtrs.SlackBuild
index 54655389fe192..6d0f41246d80c 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