# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=fontawesome
pkgver=5.8.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() {
	cd "$builddir"
	install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ *.otf
}

sha512sums="078b67e41d5161651e6571ca7cd92fe78a400c9e92108fe0ebc71b0339a1b758fed5f255d666f29c5f59934a949df209ba9159b0232822c7caee404714311135  fontawesome-free-5.8.1-desktop.zip"