# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=fontawesome
pkgver=5.10.1
pkgrel=0
pkgdesc="Typeface for iconography"
url="https://fontawesome.com"
arch="noarch"
options="!check"  # No test suite.
license="CC-BY-3.0 AND OFL-1.1"
depends="fontconfig"
makedepends=""
subpackages=""
source="https://use.fontawesome.com/releases/v$pkgver/fontawesome-free-$pkgver-desktop.zip"
builddir="$srcdir/fontawesome-free-$pkgver-desktop/otfs"

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

sha512sums="94af5211b5d84cd9fdd6292236193e15951f1f253340ca27d04dad994410d5d1c3548e239ac5ad26121de15cd4c05f4391f61dd91ae962e8304175955237db2f  fontawesome-free-5.10.1-desktop.zip"