void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

commit a7a34447d8e07d88130fe07ab75d837bf573ac2b
parent 6281b0bbac293a09c7825cf604cb3f9f47faf908
Author: Dash Eclipse <dash@ezup.dev>
Date:   Fri, 16 Oct 2020 06:00:34 +0000

New package: font-cascadia-code-ttf

Diffstat:
Mezup/pkg-list.txt | 1+
Asrcpkgs/font-cascadia-code-otf | 2++
Asrcpkgs/font-cascadia-code-ttf/template | 32++++++++++++++++++++++++++++++++
3 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/ezup/pkg-list.txt b/ezup/pkg-list.txt @@ -21,6 +21,7 @@ bpm-tools cwwav dwl #git + font-cascadia-code-ttf font-jetbrains-mono-ttf #binary font-kiwi-otb #fetch #git fuzzypkg diff --git a/srcpkgs/font-cascadia-code-otf b/srcpkgs/font-cascadia-code-otf @@ -0,0 +1 @@ +font-cascadia-code-ttf+ \ No newline at end of file diff --git a/srcpkgs/font-cascadia-code-ttf/template b/srcpkgs/font-cascadia-code-ttf/template @@ -0,0 +1,32 @@ +# Template file for 'font-cascadia-code-ttf' +pkgname=font-cascadia-code-ttf +version=2009.22 +revision=1 +create_wrksrc=yes +depends="font-util" +short_desc="A monospaced font by Microsoft that includes programming ligatures - TTF" +maintainer="Dash Eclipse <dash@ezup.dev>" +license="OFL-1.1" +homepage="https://github.com/microsoft/cascadia-code" +distfiles="https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip" +checksum="801bcc94b79ae46bc573c9c07feb44d581e12d15f79b176be165f00f8fdf9846" +tags="ezup font" + +font_dirs="/usr/share/fonts/TTF" + +do_install() { + vmkdir usr/share/fonts/TTF + vcopy ttf/*.ttf usr/share/fonts/TTF + + vmkdir usr/share/fonts/OTF + vcopy otf/static/*.otf usr/share/fonts/OTF +} + +font-cascadia-code-otf_package() { + depends="font-util" + short_desc="A monospaced font by Microsoft that includes programming ligatures - OTF" + font_dirs="/usr/share/fonts/OTF" + pkg_install() { + vmove usr/share/fonts/OTF + } +}