void-packages/srcpkgs/font-awesome/template

20 lines
581 B
Bash

# Template file for 'font-awesome'
pkgname=font-awesome
reverts="5.0.8_1 5.0.9_1 5.0.10_1"
version=4.7.0
revision=2
archs=noarch
wrksrc=Font-Awesome-${version}
depends="font-util"
font_dirs="/usr/share/fonts/OTF"
short_desc="An iconic font"
maintainer="Yann Bordenave <meow@meo.wf>"
license="OFL-1.1"
homepage="https://fontawesome.com/v4.7.0/"
distfiles="https://github.com/FortAwesome/Font-Awesome/archive/v${version}.tar.gz"
checksum=de512ba0e1dead382bbfce372cde74b3f18971d876fffb635ee9333f0db05d43
do_install() {
install -Dm644 fonts/*.otf -t ${DESTDIR}/usr/share/fonts/OTF
}