void-packages/srcpkgs/font-open-dyslexic-ttf/template

21 lines
668 B
Bash

# Template file for 'font-open-dyslexic-ttf'
pkgname=font-open-dyslexic-ttf
version=20160623
revision=4
depends="font-util xbps-triggers"
short_desc="Font created to increase readability for readers with dyslexia"
maintainer="Orphaned <orphan@voidlinux.org>"
license="CC-BY-3.0, Bitstream-Vera"
homepage="http://opendyslexic.org/"
distfiles="https://github.com/antijingoist/open-dyslexic/archive/${version}-Stable.tar.gz"
checksum=a44fde7d5fcf1e3825d00de20f7d71fb7b339a7e71067cd9566e8ab16692802a
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vcopy ttf/*.ttf usr/share/fonts/TTF
sed -n '45,66p' README.md > license
vlicense license
}