aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2023-11-30 22:41:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-30 23:21:37 +0700
commit736f4aff61104449cbbe27412a13ed9af90d4d14 (patch)
treeb610421137e463810a9a9054dd212445a1ec3bb6 /system
parent5ec37f40d655ab8fd3c236b930dc428cbbe689eb (diff)
system/fonts-telugu-extra: Updated for version 1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/fonts-telugu-extra/README11
-rw-r--r--system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild24
-rw-r--r--system/fonts-telugu-extra/fonts-telugu-extra.info6
3 files changed, 33 insertions, 8 deletions
diff --git a/system/fonts-telugu-extra/README b/system/fonts-telugu-extra/README
index 0f3e9ddc979b0..85779943489af 100644
--- a/system/fonts-telugu-extra/README
+++ b/system/fonts-telugu-extra/README
@@ -20,3 +20,14 @@ The list of the fonts included are in FONTS.md file.
The fonts from Google can be installed using the
program fnt which is available in SBo.
+
+To install Google fonts run the slackbuild as
+GOOGLEFONTS=YES ./fonts-telugu-extra.SlackBuild
+
+To install Gondi Script font run the slackbuild as
+GONDI=YES ./fonts-telugu-extra.SlackBuild
+
+NOTE:
+If you install google fonts that comes with
+this package it will conflict with google-fonts
+package in SBo.
diff --git a/system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild b/system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild
index 5d9c387eb494f..43ecaf4e49004 100644
--- a/system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild
+++ b/system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fonts-telugu-extra
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -56,14 +56,28 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -pv $PKG/usr/share/fonts/{TTF,OTF}
-
-find $TMP/$PRGNAM-$VERSION/OTF/ -name '*.otf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/OTF \;
+mkdir -pv $PKG/usr/share/fonts/TTF
+mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
find $TMP/$PRGNAM-$VERSION/TTF/ -name '*.ttf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/TTF \;
+if [ "$GOOGLEFONTS" = "YES" ]; then
+ mkdir -pv $PKG/usr/share/fonts/OTF
+ find $TMP/$PRGNAM-$VERSION/Googlefont/TTF -name '*.ttf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/TTF \;
+ find $TMP/$PRGNAM-$VERSION/Googlefont/OTF -name '*.otf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/OTF \;
+ mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION/Googlefont
+ cp -a $TMP/$PRGNAM-$VERSION/Googlefont/license $PKG/usr/doc/$PRGNAM-$VERSION/Googlefont
+fi
+
+if [ "$GONDI" = "YES" ]; then
+ mkdir -pv $PKG/usr/share/fonts/OTF
+ find $TMP/$PRGNAM-$VERSION/Gondi/Narnoor -name '*.ttf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/TTF \;
+ find $TMP/$PRGNAM-$VERSION/Gondi/Gunjala/TTF -name '*.ttf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/TTF \;
+ find $TMP/$PRGNAM-$VERSION/Gondi/Gunjala/OTF -name '*.otf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/OTF \;
+ mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION/Gondi
+ cp -a $TMP/$PRGNAM-$VERSION/Gondi/license $PKG/usr/doc/$PRGNAM-$VERSION/Gondi
+fi
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $TMP/$PRGNAM-$VERSION/{license,FONTS.md,README.md,URL.md} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+
diff --git a/system/fonts-telugu-extra/fonts-telugu-extra.info b/system/fonts-telugu-extra/fonts-telugu-extra.info
index 23fa4eccd50e2..6c05baf770f08 100644
--- a/system/fonts-telugu-extra/fonts-telugu-extra.info
+++ b/system/fonts-telugu-extra/fonts-telugu-extra.info
@@ -1,8 +1,8 @@
PRGNAM="fonts-telugu-extra"
-VERSION="1.1"
+VERSION="1.2"
HOMEPAGE="https://github.com/lecramyajiv/fonts-telugu-extra"
-DOWNLOAD="https://github.com/lecramyajiv/fonts-telugu-extra/archive/1.1/fonts-telugu-extra-1.1.tar.gz"
-MD5SUM="24b9a0a59a506493306553f4c47e0381"
+DOWNLOAD="https://github.com/lecramyajiv/fonts-telugu-extra/archive/1.2/fonts-telugu-extra-1.2.tar.gz"
+MD5SUM="d0b9c08fb8f503fbb6d43efc1c7d784b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""