summaryrefslogtreecommitdiffstats
path: root/system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild
diff options
context:
space:
mode:
author Vijay Marcel <vijaymarcel@outlook.com>2024-01-09 08:30:52 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-09 08:41:24 +0700
commitb5beadcc1d2de0a68e6e150a502f007700d9ed8e (patch)
tree4b38a9286d572ff32b6f33fd57e15e3902a57a60 /system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild
parent3bc26344424f407cd546fb5c88eb847c4331894d (diff)
downloadslackbuilds-b5beadcc1d2de0a68e6e150a502f007700d9ed8e.tar.gz
slackbuilds-b5beadcc1d2de0a68e6e150a502f007700d9ed8e.tar.xz
system/fonts-telugu-extra: Updated for version 1.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild')
-rw-r--r--system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild b/system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild
index 43ecaf4e49..e212deb9ad 100644
--- a/system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild
+++ b/system/fonts-telugu-extra/fonts-telugu-extra.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fonts-telugu-extra
-# Copyright 2023 Vijay Marcel
+# Copyright 2023-2024 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fonts-telugu-extra
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,27 +57,19 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -pv $PKG/usr/share/fonts/TTF
+mkdir -pv $PKG/usr/share/fonts/OTF
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 \;
+find $TMP/$PRGNAM-$VERSION/TTF/ -name '*.otf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/OTF \;
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
-
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 {} \+