aboutsummaryrefslogtreecommitdiff
path: root/system/Iosevka/Iosevka.SlackBuild
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2020-06-13 08:51:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-13 08:51:35 +0700
commite77df4d4efe9dda608dfc56ab2b307a92c53fdf5 (patch)
treeef992fd1b60347a24a78b1bde367e8f4f41891d1 /system/Iosevka/Iosevka.SlackBuild
parenta1cef378577d649527d5da71adcc2eeb397b8ad6 (diff)
system/Iosevka: Updated for version 3.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/Iosevka/Iosevka.SlackBuild')
-rw-r--r--system/Iosevka/Iosevka.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/system/Iosevka/Iosevka.SlackBuild b/system/Iosevka/Iosevka.SlackBuild
index c791211400a4..cb1693582658 100644
--- a/system/Iosevka/Iosevka.SlackBuild
+++ b/system/Iosevka/Iosevka.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Iosevka
-# Copyright 2015-2019 Eugene M., <damagedone at gmx dot com>
+# Copyright 2015-2020 Eugene M., <damagedone at gmx dot com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Iosevka
-VERSION=${VERSION:-2.3.3}
+VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,12 +41,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $TMP/$PRGNAM-$VERSION
-unzip -o $CWD/01-iosevka-$VERSION.zip -d $TMP/$PRGNAM-$VERSION
-unzip -o $CWD/02-iosevka-term-$VERSION.zip -d $TMP/$PRGNAM-$VERSION
-unzip -o $CWD/03-iosevka-type-$VERSION.zip -d $TMP/$PRGNAM-$VERSION
-unzip -o $CWD/04-iosevka-cc-$VERSION.zip -d $TMP/$PRGNAM-$VERSION
-unzip -o $CWD/05-iosevka-slab-$VERSION.zip -d $TMP/$PRGNAM-$VERSION
-cd $PRGNAM-$VERSION/ttf
+unzip -o $CWD/pkg-iosevka-$VERSION.zip -d $TMP/$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 \
@@ -55,7 +51,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/share/fonts/TTF
-cp -a *.ttf $PKG/usr/share/fonts/TTF
+cp -a ttf/*.ttf ttc/*.ttc $PKG/usr/share/fonts/TTF
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/LICENSE > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE