From 17736c078bd76ee500d748b1eb3c8fd0db607dd7 Mon Sep 17 00:00:00 2001 From: Gabriel Sanches Date: Fri, 9 Apr 2021 15:00:51 -0300 Subject: [PATCH] New package: font-jetbrains-mono-2.225 --- srcpkgs/font-jetbrains-mono/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/font-jetbrains-mono/template diff --git a/srcpkgs/font-jetbrains-mono/template b/srcpkgs/font-jetbrains-mono/template new file mode 100644 index 000000000000..5fa1fa7b3560 --- /dev/null +++ b/srcpkgs/font-jetbrains-mono/template @@ -0,0 +1,23 @@ +# Template file for 'font-jetbrains-mono' +pkgname=font-jetbrains-mono +version=2.225 +revision=1 +wrksrc="JetBrainsMono-${version}" +create_wrksrc=yes +depends="font-util" +short_desc="JetBrains's free and open-source typeface for developers" +maintainer="Gabriel Sanches " +license="OFL-1.1" +homepage="https://jetbrains.com/mono" +distfiles="https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip" +checksum=03b2e2c0e3285703a204b6efbe2d277bf568e0bb53a395e9f4e74e9b77c4aeb2 +font_dirs="/usr/share/fonts/TTF" + +do_install() { + vmkdir usr/share/fonts/TTF + vcopy fonts/ttf/*.ttf usr/share/fonts/TTF +} + +post_install() { + vlicense OFL.txt +}