void-packages/srcpkgs/font-awesome/template

20 lines
589 B
Bash

# Template file for 'font-awesome'
pkgname=font-awesome
version=4.6.1
revision=1
noarch=yes
wrksrc=Font-Awesome-${version}
depends="font-util xbps-triggers>=0.58"
font_dirs="/usr/share/fonts/OTF"
short_desc="An iconic font"
maintainer="Yann Bordenave <meow@meo.wf>"
homepage="http://fontawesome.io/"
license="OFL-1.1"
distfiles="https://github.com/FortAwesome/Font-Awesome/archive/v${version}.tar.gz"
checksum=0d6113f902d8ee1a75131759a3178f914b252868b2089f0c0fb6d5becb47c6a5
do_install() {
vmkdir usr/share/fonts/OTF
install -m644 ${wrksrc}/fonts/*.otf ${DESTDIR}/usr/share/fonts/OTF
}