system/fonts-tamil-libre: Updated for version 1.3.

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

View File

@ -15,12 +15,20 @@ The fonts are from
8. Lohit Font
The Homepages and download urls are in URL.md file.
The list of the fonts included are in FONTS.md file.
The fonts from NLCI was generated by me from source
The list of the fonts included are in FONTS.md file.
The fonts from NLCI was generated by me from source
through Fontmake.
The fonts are from google can be installed using the
The fonts are from google can be installed using the
program fnt which is available in SBo.
To install woff and woff2 fonts run the slackbuild as
WEBFONTS=YES ./fonts-tamil-libre.SlackBuild
To install Google fonts run the slackbuild as
GOOGLEFONTS=YES ./fonts-tamil-libre.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-tamil-libre
VERSION=${VERSION:-1.1}
VERSION=${VERSION:-1.3}
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 -pv $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 \;
@ -68,12 +69,18 @@ if [ "$WEBFONTS" = "YES" ]; then
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/TTF/ -name '*.ttf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/TTF \;
find $TMP/$PRGNAM-$VERSION/Googlefonts/OTF/ -name '*.otf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/OTF \;
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
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/{licenses,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-tamil-libre"
VERSION="1.1"
VERSION="1.3"
HOMEPAGE="https://github.com/lecramyajiv/fonts-tamil-libre"
DOWNLOAD="https://github.com/lecramyajiv/fonts-tamil-libre/archive/1.1/fonts-tamil-libre-1.1.tar.gz"
MD5SUM="9e11c83339f9504e3240ed4c222a0c03"
DOWNLOAD="https://github.com/lecramyajiv/fonts-tamil-libre/archive/1.3/fonts-tamil-libre-1.3.tar.gz"
MD5SUM="710aacd5239f590c88df8b81459ac5c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""