aboutsummaryrefslogtreecommitdiff
path: root/system/hack-font-ttf/hack-font-ttf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/hack-font-ttf/hack-font-ttf.SlackBuild')
-rw-r--r--system/hack-font-ttf/hack-font-ttf.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/hack-font-ttf/hack-font-ttf.SlackBuild b/system/hack-font-ttf/hack-font-ttf.SlackBuild
index 6c97d826f246b..1a76fddf1524d 100644
--- a/system/hack-font-ttf/hack-font-ttf.SlackBuild
+++ b/system/hack-font-ttf/hack-font-ttf.SlackBuild
@@ -23,12 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hack-font-ttf
-VERSION=${VERSION:-2.018}
+VERSION=${VERSION:-2.020}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=Hack-v2_018-ttf.zip
+SRCNAM=Hack-v2_020-ttf.zip
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -38,8 +38,9 @@ OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -f Hack-*.ttf
-unzip $CWD/$SRCNAM
+rm -rf $PRGNAM-$VERSION
+unzip $CWD/$SRCNAM -d $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \