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

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

sha512sums="ca4b9e7ccdd1568e841bb7bda60d184776ca36266567eef1fdf9ae44f7c688474bd91df93a8a3f59c45e22c02fc7e231bd6bfd0b5763932df8b0f933cdb127e8  Alegreya-2.008.tar.gz"