diff options
Diffstat (limited to 'system/fonts-tamil-libre')
-rw-r--r-- | system/fonts-tamil-libre/README | 14 | ||||
-rw-r--r-- | system/fonts-tamil-libre/fonts-tamil-libre.SlackBuild | 11 | ||||
-rw-r--r-- | system/fonts-tamil-libre/fonts-tamil-libre.info | 6 |
3 files changed, 23 insertions, 8 deletions
diff --git a/system/fonts-tamil-libre/README b/system/fonts-tamil-libre/README index 820b84991f..bc175cb271 100644 --- a/system/fonts-tamil-libre/README +++ b/system/fonts-tamil-libre/README @@ -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. diff --git a/system/fonts-tamil-libre/fonts-tamil-libre.SlackBuild b/system/fonts-tamil-libre/fonts-tamil-libre.SlackBuild index e9d15cfe17..2f0bc100b7 100644 --- a/system/fonts-tamil-libre/fonts-tamil-libre.SlackBuild +++ b/system/fonts-tamil-libre/fonts-tamil-libre.SlackBuild @@ -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 {} \+ diff --git a/system/fonts-tamil-libre/fonts-tamil-libre.info b/system/fonts-tamil-libre/fonts-tamil-libre.info index ed5930ad32..6b6409781d 100644 --- a/system/fonts-tamil-libre/fonts-tamil-libre.info +++ b/system/fonts-tamil-libre/fonts-tamil-libre.info @@ -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="" |