aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/jwm/jwm.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/desktop/jwm/jwm.SlackBuild b/desktop/jwm/jwm.SlackBuild
index 9bbd213d07dda..727cb08f9932b 100644
--- a/desktop/jwm/jwm.SlackBuild
+++ b/desktop/jwm/jwm.SlackBuild
@@ -11,7 +11,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
@@ -22,8 +22,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"
@@ -73,11 +73,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ABOUT-NLS ChangeLog LICENSE README.md example.jwmrc \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ABOUT-NLS ChangeLog LICENSE README.md example.jwmrc $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/etc/X11/xinit
-cp -a $CWD/xinitrc.jwm $PKG/etc/X11/xinit
+cp $CWD/xinitrc.jwm $PKG/etc/X11/xinit
chown -R root:root $PKG/etc/X11/xinit
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild