void-packages/srcpkgs/font-sil-charis/template

23 lines
726 B
Bash

# Template file for 'font-sil-charis'
pkgname=font-sil-charis
version=5.000
revision=1
archs=noarch
wrksrc="CharisSIL-${version}"
hostmakedepends="unzip"
depends="font-util"
short_desc="Unicode serif font, similar to Bitstream Charter"
maintainer="Ivan Sokolov <ivan-p-sokolov@ya.ru>"
license="OFL-1.1"
homepage="https://software.sil.org/charis/"
distfiles="https://software.sil.org/downloads/r/charis/CharisSIL-${version}.zip"
checksum=5e3e5473b30363008c289cc87e2aa584a0916087a63a3f689defa8e0cee09bfd
font_dirs="/usr/share/fonts/SIL"
do_install() {
vinstall CharisSIL-B.ttf 644 ${font_dirs}
vinstall CharisSIL-BI.ttf 644 ${font_dirs}
vinstall CharisSIL-I.ttf 644 ${font_dirs}
vinstall CharisSIL-R.ttf 644 ${font_dirs}
}