void-packages/srcpkgs/font-awesome5/template

20 lines
590 B
Bash

# Template file for 'font-awesome5'
pkgname=font-awesome5
version=5.5.0
revision=1
noarch=yes
wrksrc="Font-Awesome-${version}"
depends="font-util"
font_dirs="/usr/share/fonts/OTF"
short_desc="An iconic font (version 5)"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="OFL-1.1"
homepage="https://fontawesome.com"
distfiles="https://github.com/FortAwesome/Font-Awesome/archive/${version}.tar.gz"
checksum=62b5459ab0769880245bb6ce6ec7486a877e14e75b75568d5e25304dcb52a55b
conflicts="font-awesome>=0"
do_install() {
install -Dm644 use-on-desktop/*.otf -t ${DESTDIR}/usr/share/fonts/OTF
}