# Template file for 'ekushey-fonts-ttf'
pkgname=ekushey-fonts-ttf
version=20191020
revision=1
archs=noarch
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
build_style=fetch
depends="font-util"
short_desc="Bengali fonts from Ekushey project"
maintainer="reback00 <reback00@protonmail.com>"
license="GPL-2.0-or-later, OFL-1.0, GPL-3.0-or-later"
homepage="http://ekushey.org/"
distfiles="${SOURCEFORGE_SITE}/ekushey/SolaimanLipi_20-04-07.ttf
 ${SOURCEFORGE_SITE}/ekushey/Mukti_17-03-2007.ttf
 ${SOURCEFORGE_SITE}/ekushey/Sagar_11-08-2005_GPL.ttf
 ${SOURCEFORGE_SITE}/ekushey/LikhanNormal_11-08-2005.ttf
 ${SOURCEFORGE_SITE}/ekushey/Lohit_14-04-2007.ttf
 ${SOURCEFORGE_SITE}/ekushey/Rupali_01-02-2007.ttf
 ${SOURCEFORGE_SITE}/ekushey/Puja-17-06-2006.ttf
 ${SOURCEFORGE_SITE}/ekushey/Punarbhaba_27-02-2006.ttf
 ${SOURCEFORGE_SITE}/ekushey/Azad_27-02-2006.ttf
 ${SOURCEFORGE_SITE}/ekushey/Sumit_03-09-2005.ttf
 ${SOURCEFORGE_SITE}/ekushey/Sharifa_03-09-2005.ttf
 ${SOURCEFORGE_SITE}/ekushey/Saraswatii_03-09-2005.ttf
 ${SOURCEFORGE_SITE}/ekushey/Mohua_07-09-05.ttf
 ${SOURCEFORGE_SITE}/ekushey/Godhuli_03-09-2005.ttf
 ${SOURCEFORGE_SITE}/ekushey/Durga_03-09-2005.ttf"
checksum="16bbf4f0140dab8fcf53ab34a923674ea8c9de2f8583d110c7e62b0094a22fe6
 4b394b6fb3d2367eba63a07bfc1febb1062c5dc96e0f7a217bce4222bcdb539d
 270e9d00dcb7707065a613e0295dfc9ade26fcee852092d2a6ad7b39e5b910be
 d870740c964a2d1d293b2feac2a5909fcfb2669168af183b8b9629e13c46ece8
 e01e26738d71aa8e3c838fb5111e576a9d23629accb7337d269a4fec2eb54c2d
 096caf059e64b1acd40c30b3ac01d2c892cc1de0eda81aff050f3ade43ec9719
 4bef78c2c6897b1ce2097757b8c3fcc73296b4e1c54e7570318eabe9ccfb2231
 ee301d735614e842f00dad7be05071400ef3cc73ee209ae21a3e015be70e571b
 d333ece984ec5bcd9b08c67a5ebca954d0c1d96ce5ec689ea94bbe2896c55bc0
 1f7db8680a363bb8bf3548024a5f462a09d3057b0960ec9bdbf52fbcfa5a7f3e
 b2de0dbeb8294ba045bcd58f8e9489d8666385a381a3572a22e550a74e547d87
 37871176e133cb09f91bf99f2320700d06eb9b4eec0faf23546b74d30f6d4bb9
 cf03b1cb315f651b5e1c7f6150bb50b34a52f0f513179b114e3377a87534f77f
 a16de29f78db754c69f28c36005d5ad536d8f2e653f0309738024e17047b47bb
 01721fd6c279b37a4d8406d052844b1e87aa8396ba7d3f102b151ef3b03e07ee"

font_dirs="/usr/share/fonts/TTF"

do_install() {
	vmkdir usr/share/fonts/TTF
	install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF
}
