summaryrefslogtreecommitdiff
path: root/system/hack-font-ttf/hack-font-ttf.SlackBuild
diff options
context:
space:
mode:
authorrfmae <rfmae.git@mailbox.org>2018-02-08 15:51:54 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-10 08:09:32 +0700
commitda06aa472f12165f8bb52be71007c5af0ee348a6 (patch)
tree62e18d3db0096bc72b9f78f9228c0c68bd5c9e1b /system/hack-font-ttf/hack-font-ttf.SlackBuild
parent4aa78e41887d49197fbe50213a1bbee83ab04075 (diff)
downloadslackbuilds-da06aa472f12165f8bb52be71007c5af0ee348a6.tar.gz
system/hack-font-ttf: Updated for version 3.002.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/hack-font-ttf/hack-font-ttf.SlackBuild')
-rw-r--r--system/hack-font-ttf/hack-font-ttf.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/hack-font-ttf/hack-font-ttf.SlackBuild b/system/hack-font-ttf/hack-font-ttf.SlackBuild
index 1a76fddf15..bf69daf836 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.020}
+VERSION=${VERSION:-3.002}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=Hack-v2_020-ttf.zip
+SRCNAM=Hack-v$VERSION-ttf.tar.xz
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -39,8 +39,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$SRCNAM -d $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM -C $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 \