# Template file for 'font-awesome5'
pkgname=font-awesome5
version=5.4.1
revision=1
noarch=yes
wrksrc=Font-Awesome-${version}
depends="font-util"
font_dirs="/usr/share/fonts/OTF"
short_desc="An iconic font (version 5)"
maintainer="cr6git <quark6@protonmail.com>"
license="OFL-1.1"
homepage="https://fontawesome.com"
distfiles="https://github.com/FortAwesome/Font-Awesome/archive/${version}.tar.gz"
checksum=013e3ba91896bad45a9c05499335eb229d95dbf47ccdfb4b766d5158405e3961
conflicts="font-awesome>=0"

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