From 7f8dec415ef86901679b45c75840e45bd0d90d9c Mon Sep 17 00:00:00 2001 From: Sebastien BALLET Date: Sat, 15 Jul 2017 07:02:05 +0700 Subject: desktop/jwm: Fix ownership. Signed-off-by: Willy Sudiarto Raharjo --- desktop/jwm/jwm.SlackBuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'desktop/jwm') diff --git a/desktop/jwm/jwm.SlackBuild b/desktop/jwm/jwm.SlackBuild index 9bbd213d07..727cb08f99 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 -- cgit v1.2.3