@eshanized updated the repository 🎉

This commit is contained in:
Eshan Roy (Eshanized)
2024-04-26 13:48:37 +05:30
parent 3744f70225
commit 3aeb843d13
3 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
pkgbase = asian-fonts
pkgdesc = Meta-package containing common asian fonts
pkgver = 3
pkgrel = 1
url = https://wiki.archlinux.org/index.php/Fonts
arch = any
license = GPL
depends = fonts-tlwg
depends = lohit-fonts
depends = opendesktop-fonts
depends = otf-ipafont
depends = ttf-baekmuk
depends = ttf-hannom
depends = ttf-indic-otf
depends = ttf-khmer
depends = ttf-tibetan-machine
source = 90-bengali.conf
sha256sums = 298b598553e88e1d905748a19ed2ecc00dd6845a8e7213c87d84dcfca57ddee6
pkgname = asian-fonts

View File

@@ -0,0 +1,27 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<test name="lang" compare="contains">
<string>bn</string>
</test>
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" binding="strong" mode="prepend">
<string>Noto Serif Bengali</string>
</edit>
</match>
<match target="pattern">
<test name="lang" compare="contains">
<string>bn</string>
</test>
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" binding="strong" mode="prepend">
<string>Noto Serif Bengali</string>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>

View File

@@ -0,0 +1,26 @@
# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
# Contributor: Librewish <librewish@gmail.com>
pkgname=asian-fonts
pkgver=3
pkgrel=1
arch=("any")
url="https://wiki.archlinux.org/index.php/Fonts"
license=("GPL")
pkgdesc="Meta-package containing common asian fonts"
source=(90-bengali.conf)
sha256sums=('298b598553e88e1d905748a19ed2ecc00dd6845a8e7213c87d84dcfca57ddee6')
depends=("fonts-tlwg"
"lohit-fonts"
"opendesktop-fonts"
"otf-ipafont"
"ttf-baekmuk"
"ttf-hannom"
"ttf-indic-otf"
"ttf-khmer"
"ttf-tibetan-machine")
package() {
mkdir -p "$pkgdir"/etc/fonts/conf.d
install -D -m644 90-bengali.conf "$pkgdir"/etc/fonts/conf.d/90-bengali.conf
}