diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-20 07:11:11 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:27:06 +0000 |
commit | 9937c5502a90e2d9dfde64f31fa018a5de750ced (patch) | |
tree | 2ea0a8162ae02eb2ed2171abf527a7f548f39246 /desktop/grun/grun.SlackBuild | |
parent | 656e05f161b9981130ac6f729f5c3803157a74bf (diff) | |
download | slackbuilds-9937c5502a90e2d9dfde64f31fa018a5de750ced.tar.gz |
desktop/grun: Install doinst.sh, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/grun/grun.SlackBuild')
-rw-r--r-- | desktop/grun/grun.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/grun/grun.SlackBuild b/desktop/grun/grun.SlackBuild index ae73e7463f..e8e53025b8 100644 --- a/desktop/grun/grun.SlackBuild +++ b/desktop/grun/grun.SlackBuild @@ -28,7 +28,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 @@ -39,8 +39,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" @@ -98,6 +98,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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} |