From 808e1b85cb0c32335e04652ae28594c0fd2b1729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Safa=20Ar=C4=B1man?= Date: Fri, 20 Mar 2020 23:27:56 +0300 Subject: [PATCH] Add open-sans-fonts package --- desktop/font/open-sans-fonts/actions.py | 22 ++++++++++++ desktop/font/open-sans-fonts/pspec.xml | 36 +++++++++++++++++++ desktop/font/open-sans-fonts/translations.xml | 8 +++++ 3 files changed, 66 insertions(+) create mode 100644 desktop/font/open-sans-fonts/actions.py create mode 100644 desktop/font/open-sans-fonts/pspec.xml create mode 100644 desktop/font/open-sans-fonts/translations.xml diff --git a/desktop/font/open-sans-fonts/actions.py b/desktop/font/open-sans-fonts/actions.py new file mode 100644 index 0000000000..f4bf410d58 --- /dev/null +++ b/desktop/font/open-sans-fonts/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools, shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + + +WorkDir = '.' + + +def setup(): + shelltools.move('Apache License.txt', 'LICENSE') + shelltools.chmod('*.ttf', 0o644) + + +def install(): + pisitools.insinto('/usr/share/fonts/TTF/', '*.ttf') + pisitools.dodoc('LICENSE') diff --git a/desktop/font/open-sans-fonts/pspec.xml b/desktop/font/open-sans-fonts/pspec.xml new file mode 100644 index 0000000000..9a632dc55a --- /dev/null +++ b/desktop/font/open-sans-fonts/pspec.xml @@ -0,0 +1,36 @@ + + + + + open-sans-fonts + https://www.opensans.com/ + + Safa Arıman + safa@ariman.gen.tr + + Apache-2.0 + data:font + Open Sans is a humanist sans-serif typeface designed by Steve Matteson + Open Sans is a humanist sans serif typeface designed by Steve Matteson, Type Director of Ascender Corp. This version contains the complete 897 character set, which includes the standard ISO Latin 1, Latin CE, Greek and Cyrillic character sets. Open Sans was designed with an upright stress, open forms and a neutral, yet friendly appearance. It was optimized for print, web, and mobile interfaces, and has excellent legibility characteristics in its letter forms. + https://www.opensans.com/download/open-sans.zip + https://www.opensans.com/download/open-sans-condensed.zip + + + + open-sans-fonts + + /usr/share/doc + /usr/share/fonts + + + + + + 2020-03-20 + 1.10 + First release + Safa Arıman + safa@ariman.gen.tr + + + diff --git a/desktop/font/open-sans-fonts/translations.xml b/desktop/font/open-sans-fonts/translations.xml new file mode 100644 index 0000000000..4a88e4b563 --- /dev/null +++ b/desktop/font/open-sans-fonts/translations.xml @@ -0,0 +1,8 @@ + + + + open-sans-fonts + Open Sans is a humanist sans-serif typeface designed by Steve Matteson + Open Sans is a humanist sans serif typeface designed by Steve Matteson, Type Director of Ascender Corp. This version contains the complete 897 character set, which includes the standard ISO Latin 1, Latin CE, Greek and Cyrillic character sets. Open Sans was designed with an upright stress, open forms and a neutral, yet friendly appearance. It was optimized for print, web, and mobile interfaces, and has excellent legibility characteristics in its letter forms. + +