aboutsummaryrefslogtreecommitdiff
path: root/system/hack-font-ttf/hack-font-ttf.SlackBuild
diff options
context:
space:
mode:
authorrfmae <rf.mae.git@gmail.com>2016-11-25 20:39:02 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 11:47:24 +0700
commitd5081c19a1cbdb3eb45d4c3b1150e0b5961b91e1 (patch)
tree6e67a2fd48f231886fc8965a75ef1b4b6d0701cf /system/hack-font-ttf/hack-font-ttf.SlackBuild
parentf41af7dcb296f28c4904769ddd1adf218aadafec (diff)
system/hack-font-ttf: Updated for version 2.020.
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.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 6c97d826f246..1a76fddf1524 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 \