void-packages/srcpkgs/font-awesome5/template

20 lines
580 B
Bash

# Template file for 'font-awesome5'
pkgname=font-awesome5
version=5.6.3
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=3a162f9b878ab7e92b53ffd79c95e55c4f14b92ce770e1a967c933696ebc8f31
conflicts="font-awesome>=0"
do_install() {
install -Dm644 otfs/*.otf -t ${DESTDIR}/usr/share/fonts/OTF
}