summaryrefslogtreecommitdiff
path: root/system/culmus
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-27 00:05:22 +0700
committerRobby Workman <rworkman@slackbuilds.org>2014-12-27 23:16:20 -0600
commitb4d82fb1bebac8b8693b1929e8709e3b2e5c03b6 (patch)
tree5086e1ee20250aad60aa201236c7b4bdcc111417 /system/culmus
parent2c84ada49ea946b89fab3a12aa5f41d098bebc63 (diff)
downloadslackbuilds-b4d82fb1bebac8b8693b1929e8709e3b2e5c03b6.tar.gz
system/culmus: Fix doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/culmus')
-rw-r--r--system/culmus/culmus.SlackBuild14
-rw-r--r--system/culmus/doinst.sh2
2 files changed, 7 insertions, 9 deletions
diff --git a/system/culmus/culmus.SlackBuild b/system/culmus/culmus.SlackBuild
index 21a0e03cf4..08c818772d 100644
--- a/system/culmus/culmus.SlackBuild
+++ b/system/culmus/culmus.SlackBuild
@@ -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
diff --git a/system/culmus/doinst.sh b/system/culmus/doinst.sh
index 3360147998..0db5b6121d 100644
--- a/system/culmus/doinst.sh
+++ b/system/culmus/doinst.sh
@@ -14,4 +14,4 @@ if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
mkfontscale .
mkfontdir .
)
-
+fi