# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=font-roboto-flex
pkgver=3.200
pkgrel=1
pkgdesc="Google Roboto Flex family of fonts"
url="https://github.com/googlefonts/roboto-flex"
arch="noarch"
license="OFL-1.1"
depends="fontconfig mkfontscale"
source="$pkgname-$pkgver-1.zip::https://github.com/googlefonts/roboto-flex/releases/download/$pkgver/roboto-flex-fonts.zip"
options="!check"  # no code to test
builddir="$srcdir/roboto-flex-fonts"

package() {
	install -Dm644 fonts/variable/Roboto*.ttf -t "$pkgdir"/usr/share/fonts/${pkgname#font-}/
}

sha512sums="
d5f82bb52550c092d65fe75d5c11ae671783065964bccc84722e61843014fb80e6bdc456c3e182d8e42455da467f00ab5cde04b818cdf133c38d3365b00b2624  font-roboto-flex-3.200-1.zip
"
