# Template file for 'font-awesome5'
pkgname=font-awesome5
version=5.8.0
revision=1
archs=noarch
wrksrc="Font-Awesome-${version}"
depends="font-util"
short_desc="Iconic font (version 5)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="OFL-1.1"
homepage="https://fontawesome.com"
distfiles="https://github.com/FortAwesome/Font-Awesome/archive/${version}.tar.gz"
checksum=a8ee06e9c1414eeb6db2be497593a8655bff95fc376031b0ec3acb50c99abfae
conflicts="font-awesome>=0"
font_dirs="/usr/share/fonts/OTF"

do_install() {
	install -Dm644 otfs/*.otf -t ${DESTDIR}/usr/share/fonts/OTF
}
