# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
pkgname=font-nunito
pkgver=0_git20220216
_commit=93a90a30df72f180aba6b34fdffed7067c9bba11
pkgrel=1
pkgdesc="Nunito is a well balanced sans serif typeface superfamily"
url="https://fonts.google.com/specimen/Nunito"
arch="noarch"
license="OFL-1.1"
source="
	nunito-italic-wght-$_commit.ttf::https://github.com/googlefonts/nunito/raw/$_commit/fonts/variable/Nunito-Italic%5Bwght%5D.ttf
	nunito-ital-wght-$_commit.ttf::https://github.com/googlefonts/nunito/raw/$_commit/fonts/variable/Nunito%5Bital%2Cwght%5D.ttf
	nunito-wght-$_commit.ttf::https://github.com/googlefonts/nunito/raw/$_commit/fonts/variable/Nunito%5Bwght%5D.ttf
	"
options="!check"
builddir="$srcdir/"

package() {
	install -Dm644 ./nunito-italic-wght-$_commit.ttf \
		"$pkgdir"/usr/share/fonts/nunito/nunito-italic-wght.tff
	install -Dm644 ./nunito-ital-wght-$_commit.ttf \
		"$pkgdir"/usr/share/fonts/nunito/nunito-ital-wght.tff
	install -Dm644 ./nunito-wght-$_commit.ttf \
		"$pkgdir"/usr/share/fonts/nunito/nunito-wght.tff
}

sha512sums="
1c0bd19e6d1421b275b4ee9702b079174fcabd93823f3bfa919c74830d086f04d2225e7cfb66e4d5859c98b0782b67938622acfed367ad989c577b039734dd83  nunito-italic-wght-93a90a30df72f180aba6b34fdffed7067c9bba11.ttf
5d0543729de68c44122728594abe6eaab1e721b22c51fa719d7d1b22fbe36a61e1d7c75e77658eecb2547c8b4a485fe50df99f1ef86c6156fee0dd45a82099d0  nunito-ital-wght-93a90a30df72f180aba6b34fdffed7067c9bba11.ttf
4aea35bd26762ac1bd2583a9c98d1c8dcf7a57ea7ef5844a5cb341ce7d63b2a6718cbdaa90a7290f0789134039a284a131e1f8c86db7ba9f013b8d2da61ee651  nunito-wght-93a90a30df72f180aba6b34fdffed7067c9bba11.ttf
"
