From a9b6dfdb1305c667b8f41f49a2d1076a1dda3ea4 Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Wed, 13 Jul 2016 00:27:01 -0300 Subject: [PATCH] New package: font-open-dyslexic-ttf-20160623 --- srcpkgs/font-open-dyslexic-ttf/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/font-open-dyslexic-ttf/template diff --git a/srcpkgs/font-open-dyslexic-ttf/template b/srcpkgs/font-open-dyslexic-ttf/template new file mode 100644 index 00000000000..1df21be3a75 --- /dev/null +++ b/srcpkgs/font-open-dyslexic-ttf/template @@ -0,0 +1,21 @@ +# Template file for 'font-open-dyslexic-ttf' +pkgname=font-open-dyslexic-ttf +version=20160623 +revision=1 +wrksrc="open-dyslexic-${version}-Stable" +noarch="yes" +font_dirs="/usr/share/fonts/TTF" +depends="font-util xbps-triggers" +short_desc="A font created to increase readability for readers with dyslexia" +maintainer="Diogo Leal " +license="CC-BY-3.0, Bitstream" +homepage="http://opendyslexic.org/" +distfiles="https://github.com/antijingoist/open-dyslexic/archive/${version}-Stable.tar.gz" +checksum=a44fde7d5fcf1e3825d00de20f7d71fb7b339a7e71067cd9566e8ab16692802a + +do_install() { + vmkdir usr/share/fonts/TTF + vcopy ttf/*.ttf usr/share/fonts/TTF + sed -n '45,66p' README.md > license + vlicense license +}