system/fonts-kannada-extra: Updated for version 1.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2023-11-30 22:43:41 +07:00 committed by Willy Sudiarto Raharjo
parent ca7d59e05e
commit d3a9627eb1
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 21 additions and 6 deletions

View file

@ -14,4 +14,12 @@ The fonts are from google can be installed using the
program fnt which is available in SBo
To install woff fonts run the slackbuild as
WEBFONTS=YES ./fonts-tamil-libre.SlackBuild
WEBFONTS=YES ./fonts-kannada-extra.SlackBuild
To install Google fonts run the slackbuild as
GOOGLEFONTS=YES ./fonts-kannada-extra.SlackBuild
NOTE:
If you install google fonts that comes with
this package it will conflict with google-fonts
package in SBo.

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fonts-kannada-extra
VERSION=${VERSION:-1.0}
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -57,6 +57,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -pv $PKG/usr/share/fonts/{TTF,OTF}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
find $TMP/$PRGNAM-$VERSION/OTF/ -name '*.otf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/OTF \;
@ -65,6 +66,13 @@ find $TMP/$PRGNAM-$VERSION/TTF/ -name '*.ttf' -type f -exec install -D -m0644 -v
if [ "$WEBFONTS" = "YES" ]; then
mkdir -pv $PKG/usr/share/fonts/{WOFF,WOFF2}
find $TMP/$PRGNAM-$VERSION/WOFF/ -name '*.woff' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/WOFF \;
find $TMP/$PRGNAM-$VERSION/WOFF2/ -name '*.woff2' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/WOFF2 \;
fi
if [ "$GOOGLEFONTS" = "YES" ]; then
find $TMP/$PRGNAM-$VERSION/Googlefonts/ -name '*.ttf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/TTF \;
mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION/Googlefonts
cp -a $TMP/$PRGNAM-$VERSION/Googlefonts/license $PKG/usr/doc/$PRGNAM-$VERSION/Googlefonts/
fi
mkdir -pv $PKG/etc/fonts/conf.avail
@ -72,7 +80,6 @@ find . -name "*.conf" -exec cp -a {} $PKG/etc/fonts/conf.avail \;
mkdir -pv $PKG/etc/fonts/conf.d
( cd $PKG/etc/fonts/conf.d && ln -sf ../conf.avail/* .)
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 {} \+

View file

@ -1,8 +1,8 @@
PRGNAM="fonts-kannada-extra"
VERSION="1.0"
VERSION="1.1"
HOMEPAGE="https://github.com/lecramyajiv/fonts-kannada-extra"
DOWNLOAD="https://github.com/lecramyajiv/fonts-kannada-extra/archive/1.0/fonts-kannada-extra-1.0.tar.gz"
MD5SUM="7cd934959e376bf8b2a278576348f17a"
DOWNLOAD="https://github.com/lecramyajiv/fonts-kannada-extra/archive/1.1/fonts-kannada-extra-1.1.tar.gz"
MD5SUM="03909921438cb10b95170feeb95f902a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""