diff options
author | Sebastien BALLET <slacker6896@gmail.com> | 2017-07-15 07:02:05 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-15 07:02:05 +0700 |
commit | 7f8dec415ef86901679b45c75840e45bd0d90d9c (patch) | |
tree | 20d442f57e8606da7380ec873541bdc59f1501b9 /desktop/jwm | |
parent | 53550751d3d1dcb15b98062b4836912bb1bd0e5e (diff) |
desktop/jwm: Fix ownership.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/jwm')
-rw-r--r-- | desktop/jwm/jwm.SlackBuild | 12 |
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 |