void-packages/srcpkgs/font-awesome5/template

20 lines
659 B
Bash

# Template file for 'font-awesome5'
pkgname=font-awesome5
version=5.15.4
revision=1
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"
changelog="https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/CHANGELOG.md"
distfiles="https://github.com/FortAwesome/Font-Awesome/archive/${version}.tar.gz"
checksum=82c301594a566277ba3cf41e037fc03ae101727d3e5d682d09e322a53937b5ed
conflicts="font-awesome>=0"
font_dirs="/usr/share/fonts/OTF"
do_install() {
install -Dm644 otfs/*.otf -t ${DESTDIR}/usr/share/fonts/OTF
}