From 54ccfdc64b2649e0ad9f970530e70a133cd35736 Mon Sep 17 00:00:00 2001 From: Eugene M Date: Fri, 2 Oct 2020 00:02:11 +0100 Subject: system/Iosevka-slab: Updated for version 3.6.1. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- system/Iosevka-slab/Iosevka-slab.SlackBuild | 7 +++---- system/Iosevka-slab/Iosevka-slab.info | 6 +++--- system/Iosevka-slab/README | 17 ----------------- system/Iosevka-slab/doinst.sh | 8 ++++---- system/Iosevka-slab/slack-desc | 4 ++-- 5 files changed, 12 insertions(+), 30 deletions(-) diff --git a/system/Iosevka-slab/Iosevka-slab.SlackBuild b/system/Iosevka-slab/Iosevka-slab.SlackBuild index 369ca665fb..373092bf21 100644 --- a/system/Iosevka-slab/Iosevka-slab.SlackBuild +++ b/system/Iosevka-slab/Iosevka-slab.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Iosevka-slab -VERSION=${VERSION:-3.2.2} +VERSION=${VERSION:-3.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,8 +40,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -mkdir $TMP/$PRGNAM-$VERSION -unzip -o $CWD/pkg-iosevka-slab-$VERSION.zip -d $TMP/$PRGNAM-$VERSION +unzip -o $CWD/ttc-iosevka-slab-$VERSION.zip -d $TMP/$PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -51,7 +50,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p $PKG/usr/share/fonts/TTF -cp -a ttf/*.ttf ttc/*.ttc $PKG/usr/share/fonts/TTF +cp -a *.ttc $PKG/usr/share/fonts/TTF mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/LICENSE > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE diff --git a/system/Iosevka-slab/Iosevka-slab.info b/system/Iosevka-slab/Iosevka-slab.info index 8bc723275e..31ec4d1c08 100644 --- a/system/Iosevka-slab/Iosevka-slab.info +++ b/system/Iosevka-slab/Iosevka-slab.info @@ -1,8 +1,8 @@ PRGNAM="Iosevka-slab" -VERSION="3.2.2" +VERSION="3.6.1" HOMEPAGE="https://typeof.net/Iosevka/" -DOWNLOAD="https://github.com/be5invis/Iosevka/releases/download/v3.2.2/pkg-iosevka-slab-3.2.2.zip" -MD5SUM="acb5fe7b6cbe9210c390ebfda11215ca" +DOWNLOAD="https://github.com/be5invis/Iosevka/releases/download/v3.6.1/ttc-iosevka-slab-3.6.1.zip" +MD5SUM="79a0579f33cb9050c1adb91bd6d12f2d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/system/Iosevka-slab/README b/system/Iosevka-slab/README index 0dabcd6436..ccf6ccfb46 100644 --- a/system/Iosevka-slab/README +++ b/system/Iosevka-slab/README @@ -1,20 +1,3 @@ Iosevka is an open-source, sans-serif, monospace quasi‑proportional typeface family, designed for writing code, using in terminals, and preparing technical documents. - -Iosevka provides a large variety of variants. Prebuilt variants are -listed below. For all Monospace variants' packages, it will contain -three spacing variants. - -Default: The default variant with ligatures. Various symbols, like -arrows and geometric, are wide (2-column). - -Terminal (“Term”):A narrower variant focusing terminal uses. Arrows and -geometric symbols will be narrow to follow typical terminal usages. - -Fixed: Exact monospace font without ligatures and wide glyphs. Since -some environments cannot interpret Iosevka or Iosevka Term as monospace, -and have difficulties with ligatures included, you can use Iosevka Fixed -as an alternative. - -Iosevka Slab variant - Monospace, Slab. diff --git a/system/Iosevka-slab/doinst.sh b/system/Iosevka-slab/doinst.sh index 14f39b38cd..2909ee40e1 100644 --- a/system/Iosevka-slab/doinst.sh +++ b/system/Iosevka-slab/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 mkfontscale . mkfontdir . ) - if [ -x /usr/bin/fc-cache ]; then - /usr/bin/fc-cache -f - fi + + [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache -f fi diff --git a/system/Iosevka-slab/slack-desc b/system/Iosevka-slab/slack-desc index b2e63509c1..03734d2dd2 100644 --- a/system/Iosevka-slab/slack-desc +++ b/system/Iosevka-slab/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -Iosevka-slab: Iosevka (Open source monospace coding font) +Iosevka-slab: Iosevka-slab (Slender monospace slab-serif typeface) Iosevka-slab: Iosevka-slab: Iosevka is a monospace typeface inspired by Pragmata Pro, M+, and Iosevka-slab: DIN Mono. It is designed to have a narrow shape to be space Iosevka-slab: efficient and compatible to CJK characters. Iosevka-slab: -Iosevka-slab: Iosevka-slab: Homepage: https://typeof.net/Iosevka/ Iosevka-slab: Iosevka-slab: Iosevka-slab: +Iosevka-slab: -- cgit v1.2.3