void-packages/srcpkgs/font-awesome5/template

20 lines
581 B
Bash

# Template file for 'font-awesome5'
pkgname=font-awesome5
version=5.14.0
revision=1
archs=noarch
wrksrc="Font-Awesome-${version}"
depends="font-util"
short_desc="Iconic font (version 5)"
maintainer="mobinmob <mobinmob@disroot.org>"
license="OFL-1.1"
homepage="https://fontawesome.com"
distfiles="https://github.com/FortAwesome/Font-Awesome/archive/${version}.tar.gz"
checksum=706a5bec081feaf06669bd57c40a8e452765b7bc4103c72635627cf57fe656d0
conflicts="font-awesome>=0"
font_dirs="/usr/share/fonts/OTF"
do_install() {
install -Dm644 otfs/*.otf -t ${DESTDIR}/usr/share/fonts/OTF
}