void-packages/srcpkgs/font-awesome/template

20 lines
589 B
Bash
Raw Normal View History

# Template file for 'font-awesome'
pkgname=font-awesome
2015-11-28 20:57:27 +01:00
version=4.5.0
2015-12-02 15:27:40 +01:00
revision=2
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"
2015-12-02 15:27:40 +01:00
checksum=7813f416057da622b16229b10fef550e1dc64c5bb59871cd38fa86e76dfdbae8
do_install() {
vmkdir usr/share/fonts/OTF
install -m644 ${wrksrc}/fonts/*.otf ${DESTDIR}/usr/share/fonts/OTF
}