aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 07:06:38 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:05 +0000
commit751958550ea3629c59501a64cc5616d4281bf004 (patch)
tree4e8f61f8cad3e2423e9cb8dbcca575d37062da5f
parentb3c37e26decca7de8416528a3d1dcb7bfb3f462e (diff)
desktop/alltray: Install doinst.sh, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--desktop/alltray/alltray.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/alltray/alltray.SlackBuild b/desktop/alltray/alltray.SlackBuild
index ec006dba9281..065366c2a186 100644
--- a/desktop/alltray/alltray.SlackBuild
+++ b/desktop/alltray/alltray.SlackBuild
@@ -31,7 +31,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
@@ -42,8 +42,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"
@@ -93,6 +93,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}