pkgname=fontawesome
pkgver=6.5.1
pkgdesc="The iconic font"
homepage="https://fontawesome.com"
license=("CC-BY-4.0" "OFL-1.1")
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/FortAwesome/Font-Awesome/archive/${pkgver}.tar.gz")
sha512sums=("da8b9c42241e370330d01d73a8cd279bc16589bf94a6edbbd4b18924341d3db7e03258170cae31c43ee73285373544907ca31a27dbe71765cd7637531e80d418")

src_prepare() {
  tar -xf ${distdir}/${sources[0]} --strip-components=1
}

src_install() {
  install -Dvm644 otfs/*.otf -t "${pkgdir}/usr/share/fonts/${pkgname}"
}

# vim:ft=sh syn=sh et sw=2:
