diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2023-11-30 22:43:41 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-01 00:01:39 +0700 |
commit | d3a9627eb1422da2bb0cb6414ba3b3d865248d25 (patch) | |
tree | fb670add275127706310bc151cd3b87f83721dd1 /system/fonts-kannada-extra | |
parent | ca7d59e05e777d16127f6eb4a7a1d4d596f6eba1 (diff) |
system/fonts-kannada-extra: Updated for version 1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fonts-kannada-extra')
-rw-r--r-- | system/fonts-kannada-extra/README | 10 | ||||
-rw-r--r-- | system/fonts-kannada-extra/fonts-kannada-extra.SlackBuild | 11 | ||||
-rw-r--r-- | system/fonts-kannada-extra/fonts-kannada-extra.info | 6 |
3 files changed, 21 insertions, 6 deletions
diff --git a/system/fonts-kannada-extra/README b/system/fonts-kannada-extra/README index 744585502d2c..cf17b224688f 100644 --- a/system/fonts-kannada-extra/README +++ b/system/fonts-kannada-extra/README @@ -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. diff --git a/system/fonts-kannada-extra/fonts-kannada-extra.SlackBuild b/system/fonts-kannada-extra/fonts-kannada-extra.SlackBuild index 720423fc7545..e9b83d287abf 100644 --- a/system/fonts-kannada-extra/fonts-kannada-extra.SlackBuild +++ b/system/fonts-kannada-extra/fonts-kannada-extra.SlackBuild @@ -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 {} \+ diff --git a/system/fonts-kannada-extra/fonts-kannada-extra.info b/system/fonts-kannada-extra/fonts-kannada-extra.info index 771b04b8c3fb..3e666ea80061 100644 --- a/system/fonts-kannada-extra/fonts-kannada-extra.info +++ b/system/fonts-kannada-extra/fonts-kannada-extra.info @@ -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="" |