Skip to content

Commit

Permalink
New package: font-cascadia-code-ttf-1909.16
Browse files Browse the repository at this point in the history
  • Loading branch information
mobinmob committed Dec 1, 2019
1 parent 1730442 commit a39c243
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions srcpkgs/font-cascadia-code-ttf/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Template file for 'font-cascadia-code-ttf'
pkgname=font-cascadia-code-ttf
version=1911.21
revision=1
archs=noarch
create_wrksrc=yes
depends="font-util xbps-triggers"
short_desc="Monospaced font by Microsoft that includes programming ligatures"
maintainer="mobinmob <mobinmob@disroot.org>"
license="OFL-1.1"
homepage="https://github.com/microsoft/cascadia-code"
changelog="https://raw.githubusercontent.com/microsoft/cascadia-code/master/FONTLOG.txt"
distfiles="https://github.com/microsoft/cascadia-code/releases/download/v${version}/Cascadia.ttf
https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaMono.ttf
https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaMonoPL.ttf
https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaPL.ttf
https://raw.githubusercontent.com/microsoft/cascadia-code/master/LICENSE"
checksum="cf5b69933c568eac4231303a952ce57c1581dac10c6e73c70b763cf9ecaabed4
00dd551dd2a91377f48d4361f715494cf394c053eae7ee550ced5f0db3a9706e
e39856b0547b2df704520260778ba94bde5fc38c4385fbac3cc9362f2a6ab877
5b612e4e3bec453bab26299eac8330f7cc68b99d685ab86c01cdc54d5d6203e9
51882cd3cdba4e16f220f44ddb08a635c38c44ea6e0975db2574f4be6f958238"
skip_extraction="Cascadia.ttf
CascadiaMono.ttf
CascadiaMonoPL.ttf
CascadiaPL.ttf
LICENSE"


font_dirs="/usr/share/fonts/TTF"

do_install() {
vmkdir usr/share/fonts/TTF
vcopy ${XBPS_SRCDISTDIR}/$pkgname-$version/*.ttf usr/share/fonts/TTF
vlicense ${XBPS_SRCDISTDIR}/$pkgname-$version/LICENSE
}

0 comments on commit a39c243

Please sign in to comment.