summaryrefslogtreecommitdiff
path: root/system/un-fonts-core/un-fonts-core.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-12 08:42:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-13 07:22:54 +0700
commitf36332d8525ce8170a327c045b40185c909c1cdc (patch)
tree70b1d63822b4421f5d91c539f31968f266ba83e3 /system/un-fonts-core/un-fonts-core.SlackBuild
parentf9ec18e03b2161a0d713bea00b00b8916b6fa8e0 (diff)
downloadslackbuilds-f36332d8525ce8170a327c045b40185c909c1cdc.tar.gz
system/un-fonts-core: Update DOWNLOAD url.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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