system/culmus: Fix doinst.sh.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-12-27 00:05:22 +07:00 committed by Robby Workman
parent 2c84ada49e
commit b4d82fb1be
2 changed files with 7 additions and 9 deletions

View file

@ -26,7 +26,7 @@
PRGNAM=culmus
VERSION=${VERSION:-0.130}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
ARCH=${ARCH:-noarch}
@ -46,10 +46,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/share/fonts/TTF/
cp *.ttf $PKG/usr/share/fonts/TTF/
@ -64,9 +64,7 @@ mkdir -p $PKG/etc/fonts/conf.d
ln -sf ../conf.avail/61-culmus.conf $PKG/etc/fonts/conf.d
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES GNU-GPL LICENSE LICENSE-BITSTREAM $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -14,4 +14,4 @@ if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
mkfontscale .
mkfontdir .
)
fi