# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
# Contributor: Librewish <librewish@gmail.com>
# Contributor: Eshan Roy <eshan@snigdhaos.org>

pkgname=snigdhaos-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")
install="${pkgname}.install"

pkgver() {
	# cd "$srcdir/$pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	mkdir -p "$pkgdir"/etc/fonts/conf.d
	install -D -m644 90-bengali.conf "$pkgdir"/etc/fonts/conf.d/90-bengali.conf
}
