summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Justin Teague <arcadellama@posteo.net>2021-02-26 17:32:04 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-02-27 08:24:28 +0700
commit78bae56bc025e44ddf4f6f620a2659993ce52b94 (patch)
tree9363de3d0bd793a21742e289b0488cff57715988
parent06e1c3f1ed0e1f83e912133a092c4bcf4524be9f (diff)
downloadslackbuilds-78bae56bc025e44ddf4f6f620a2659993ce52b94.tar.gz
slackbuilds-78bae56bc025e44ddf4f6f620a2659993ce52b94.tar.xz
system/victor-mono-fonts: Updated for version 1.4.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/victor-mono-fonts/doinst.sh4
-rw-r--r--system/victor-mono-fonts/victor-mono-fonts.SlackBuild9
-rw-r--r--system/victor-mono-fonts/victor-mono-fonts.info6
3 files changed, 10 insertions, 9 deletions
diff --git a/system/victor-mono-fonts/doinst.sh b/system/victor-mono-fonts/doinst.sh
index ca4c042169..887f9240a8 100644
--- a/system/victor-mono-fonts/doinst.sh
+++ b/system/victor-mono-fonts/doinst.sh
@@ -1,10 +1,10 @@
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/TTF
+ ( cd usr/share/fonts/TTF
/usr/bin/mkfontscale .
/usr/bin/mkfontdir .
)
- ( cd /usr/share/fonts/OTF
+ ( cd usr/share/fonts/OTF
/usr/bin/mkfontscale .
/usr/bin/mkfontdir .
)
diff --git a/system/victor-mono-fonts/victor-mono-fonts.SlackBuild b/system/victor-mono-fonts/victor-mono-fonts.SlackBuild
index 91bfcfc617..ba30348900 100644
--- a/system/victor-mono-fonts/victor-mono-fonts.SlackBuild
+++ b/system/victor-mono-fonts/victor-mono-fonts.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=victor-mono-fonts
SRCNAM=VictorMonoAll
-VERSION=${VERSION:-20210217}
+VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -39,9 +39,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-unzip -d $SRCNAM-$VERSION $CWD/$SRCNAM.zip
-cd $SRCNAM-$VERSION
+rm -rf ${PRGNAM%-fonts}-$VERSION
+tar xvf $CWD/${PRGNAM%-fonts}-$VERSION.tar.gz
+cd ${PRGNAM%-fonts}-$VERSION
+unzip public/$SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/system/victor-mono-fonts/victor-mono-fonts.info b/system/victor-mono-fonts/victor-mono-fonts.info
index 17fb750950..538ced8141 100644
--- a/system/victor-mono-fonts/victor-mono-fonts.info
+++ b/system/victor-mono-fonts/victor-mono-fonts.info
@@ -1,8 +1,8 @@
PRGNAM="victor-mono-fonts"
-VERSION="20210217"
+VERSION="1.4.2"
HOMEPAGE="https://rubjo.github.io/victor-mono/"
-DOWNLOAD="https://rubjo.github.io/victor-mono/VictorMonoAll.zip"
-MD5SUM="3cb943dc7667f43190bb48721c5873ac"
+DOWNLOAD="https://github.com/rubjo/victor-mono/archive/v1.4.2/victor-mono-1.4.2.tar.gz"
+MD5SUM="b1ddcb2711be3f696fe443d41386e02b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""