# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=alegreya-sans
pkgver=2.008
pkgrel=0
pkgdesc="Humanist sans-serif typeface"
url="https://www.huertatipografica.com/en/fonts/alegreya-sans-ht"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends=""
subpackages=""
source="Alegreya-Sans-$pkgver.tar.gz::https://github.com/huertatipografica/Alegreya-Sans/archive/v$pkgver.tar.gz"
builddir="$srcdir/Alegreya-Sans-$pkgver"

package() {
	install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ "$builddir"/fonts/otf/*.otf
}

sha512sums="8052fe15717ecdfd301d878b03282ff4fd472a7e13a1e581c84d6f3993780897354d103aeda2f027350d9e56466914be38e97417fe450ec32e5823769015d0a4  Alegreya-Sans-2.008.tar.gz"