desktop/jwm: Fix ownership.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Sebastien BALLET 2017-07-15 07:02:05 +07:00 committed by Willy Sudiarto Raharjo
parent 53550751d3
commit 7f8dec415e
1 changed files with 5 additions and 7 deletions

View File

@ -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