summaryrefslogtreecommitdiffstats
path: root/system/un-fonts-core/un-fonts-core.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/un-fonts-core/un-fonts-core.SlackBuild')
-rw-r--r--system/un-fonts-core/un-fonts-core.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/un-fonts-core/un-fonts-core.SlackBuild b/system/un-fonts-core/un-fonts-core.SlackBuild
index 16d14f9073..dedf19faef 100644
--- a/system/un-fonts-core/un-fonts-core.SlackBuild
+++ b/system/un-fonts-core/un-fonts-core.SlackBuild
@@ -28,7 +28,7 @@ ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAME=un-fonts
+SRCNAME=863-un-fonts-core
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -40,15 +40,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAME
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $SRCNAME
+rm -rf un-fonts
+tar xvf $CWD/$SRCNAME-$VERSION.tar.gz
+cd un-fonts
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 -a *.ttf $PKG/usr/share/fonts/TTF