Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fonts-indic: Put all Indic fonts (Lohit) in one bee file
This also actually installs the *conf files, and not just the symbolic
links.
  • Loading branch information
pmenzel committed Jan 8, 2023
1 parent 5321fda commit a0bad97
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions fonts-indic.be0
@@ -0,0 +1,63 @@
#!/usr/bin/env beesh

set +x

# BEE_VERSION fonts-indic-1.0-0

# more info: https://pagure.io/lohit/

BEE_EXTRACT_STRIP=0

SRCURL+=(https://beehive.molgen.mpg.de/4e5bfe6d23209bdff49167007085c7ba/lohit-assamese-ttf-2.91.5.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/7c8e0e7eac003aa387bb5ca777296c03/lohit-bengali-ttf-2.91.5.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/4e6d114916faa3d85ccbf778f344e088/lohit-devanagari-ttf-2.95.4.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/a4fe11b55514af07fa0e76ab65fa2609/lohit-gujarati-ttf-2.92.4.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/85d8bf52bda23c1cd422be54dee113a6/lohit-gurmukhi-ttf-2.91.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/0c853d258fb9f36aa4587c2bd559db68/lohit-kannada-ttf-2.5.4.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/7b95bbf0ab6ad291c517eb9f07a818c1/lohit-malayalam-ttf-2.92.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/252ca6bbc317b73e27656bd6f6d73dba/lohit-marathi-ttf-2.94.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/6f11930fc02228038cbb3f6782521c44/lohit-nepali-ttf-2.94.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/066f83aa4bc855cce6a78539a193633e/lohit-odia-ttf-2.91.2.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/2695776fe2f53dd85f08264685603e62/lohit-tamil-classical-ttf-2.5.4.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/972c4d992e8506e0af4604a52315b174/lohit-tamil-ttf-2.91.3.tar.gz)
SRCURL+=(https://beehive.molgen.mpg.de/0e5d926d893bc01870e020a92ef5cfd9/lohit-telugu-ttf-2.5.5.tar.gz)

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {
FONTSDIR=${DATADIR}/fonts
install -d -v --mode=755 ${D}${FONTSDIR}/lohit/
install -d -v --mode=755 ${D}${DATADIR}/fontconfig/conf.avail/
install -d -v --mode=755 ${D}/etc/fonts/conf.d/

for f in ${S}/*; do
cp -av $f/*.ttf ${D}${FONTSDIR}/lohit/
fontconffile=$f/*.conf
cp -av ${fontconffile} ${D}${DATADIR}/fontconfig/conf.avail/
ln -sv ${DATADIR}/fontconfig/conf.avail/$(basename ${fontconffile}) ${D}/etc/fonts/conf.d
done
}

#mee_install_post() {
# exit
#}

0 comments on commit a0bad97

Please sign in to comment.