summaryrefslogtreecommitdiff
path: root/system/ecofont-ttf
diff options
context:
space:
mode:
Diffstat (limited to 'system/ecofont-ttf')
-rw-r--r--system/ecofont-ttf/ecofont-ttf.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/system/ecofont-ttf/ecofont-ttf.SlackBuild b/system/ecofont-ttf/ecofont-ttf.SlackBuild
index 2ac2e565a0..bef0e17942 100644
--- a/system/ecofont-ttf/ecofont-ttf.SlackBuild
+++ b/system/ecofont-ttf/ecofont-ttf.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ecofont-ttf
-# Copyright 2009 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2009 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=ecofont-ttf
VERSION=2.02
ARCH=noarch
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -45,7 +45,11 @@ mkdir -p $TMP/$PRGNAM-$VERSION
cd $PRGNAM-$VERSION
unzip $CWD/$SRC_PRGNAM.zip
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -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 {} \;
# Installing font
mkdir -p $PKG/usr/share/fonts/TTF