From 27a6b9245e10be6a397abe13b3aa2027a39f1fa1 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Tue, 24 Nov 2020 14:59:44 +0100 Subject: [PATCH] Add googlefonts version 1.0 (Add font Roboto) Create a package googlefonts for fonts from https://fonts.google.com/. Install font "Roboto". When other fonts from https://fonts.google.com/ are needed, they can be added to this bee package. Select only Regular and (Regular) Italic style from the Robot family, because styles with other weights are shown as separate entries in the LibreOffice font-selection menu and are not really needed. --- googlefonts.be0 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 googlefonts.be0 diff --git a/googlefonts.be0 b/googlefonts.be0 new file mode 100755 index 000000000..609f8dbac --- /dev/null +++ b/googlefonts.be0 @@ -0,0 +1,39 @@ +#!/usr/bin/env beesh + +# BEE_VERSION googlefonts-1.0-0 + +# more info: https://fonts.google.com/ + +SRCURL[0]="/src/mariux/download/Roboto.zip" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +mee_install() { + start_cmd mkdir -p $D/usr/share/fonts/truetype + start_cmd cp $S/Roboto-Regular.ttf $D/usr/share/fonts/truetype/ + start_cmd cp $S/Roboto-Italic.ttf $D/usr/share/fonts/truetype/ +} + +#mee_install_post() { +# exit +#}