# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Jerome Leclanche <jerome@leclan.ch>

pkgname=ttf-roboto-mono
pkgver=3.001
pkgrel=1
_commit="111eb14e367888c9374da4da0b018e72cf8ac46d"
pkgdesc="A monospaced addition to the Roboto type family."
arch=("any")
url="https://fonts.google.com/specimen/Roboto+Mono"
license=(OFL-1.1-no-RFN)
source=(
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/OFL.txt"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-Bold.ttf"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-BoldItalic.ttf"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-Italic.ttf"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-Light.ttf"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-LightItalic.ttf"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-Medium.ttf"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-MediumItalic.ttf"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-Regular.ttf"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-Thin.ttf"
	"https://github.com/googlefonts/RobotoMono/raw/$_commit/fonts/ttf/RobotoMono-ThinItalic.ttf"
)
sha256sums=('50ab8dd54680d3473f649c9db86fece88434d097c7834475c1c72d2f8c429215'
            '3ecf35e5e87accc7578b605d1f5f0bc30d88b195d6807bec8a0c57f6aa95c4db'
            'a0f16567447311eaf42a35f6c50eb64b911694b42f1b01038e3b7e92c20f131d'
            '4549325cd2d10938d37d63eba2aaca7c2e16e48322dc767576eab45e512b6ad2'
            '8045de2596189296c6ac8aaa76316a7b8289ee8b20a66d3d58122a0b8fc4391d'
            '2f8dc95270e28464f26dde41aa515a25a2b6e81f0ba9a4168f3f73f51dbeefe3'
            '4acbb2725a260eafff1bcaade3501204ca774e56346e259ee1b61d56996d2611'
            'e01593c1cf8034729deb4ebe412d19884907ca1156962169bca624ef139d827a'
            'af0bff7599c3df3831755c16e39b3c496df74b8c8d8a1161b14dc8461be17cb4'
            '77c06a7cca40839e7e98f08837bb2a9510690472ad156b32f663c05ceff13186'
            '78b05d06047962c6ba4cb6a8301acca3986ca7d51e4d34a67e4fd82e6e515617')

package() {
	install -Dm0644 -t "$pkgdir/usr/share/fonts/TTF/" "$srcdir/"*.ttf
	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" OFL.txt
}

