From 073675e594b1566df5479288cc5138cb3c26ffe3 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Thu, 4 Apr 2019 15:40:27 +0200 Subject: [PATCH] font-adobe-source-code-pro: revert to 2.030R This reverts commit 0189da1f25e95af97527229854f1150ff981ead1 The variable fonts aren't the same thing as the non variable ones! They install the fonts of the family "Source Code Variable" and not "Source Code Pro", which are required for GNOME. --- srcpkgs/font-adobe-source-code-pro/template | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/srcpkgs/font-adobe-source-code-pro/template b/srcpkgs/font-adobe-source-code-pro/template index 0816b71f37..093d75e286 100644 --- a/srcpkgs/font-adobe-source-code-pro/template +++ b/srcpkgs/font-adobe-source-code-pro/template @@ -1,24 +1,21 @@ # Template file for 'font-adobe-source-code-pro' pkgname=font-adobe-source-code-pro -reverts="2.030R_1" -version=1.010 +version=2.030R revision=2 archs=noarch -build_style=fetch +wrksrc="source-code-pro-${version}-ro-1.050R-it" depends="font-util" short_desc="Monospaced font family for user interface and coding environments" maintainer="Piero La Terza " license="OFL-1.1" homepage="https://adobe-fonts.github.io/source-code-pro/" -distfiles="https://github.com/adobe-fonts/source-code-pro/releases/download/variable-fonts/SourceCodeVariable-Italic.otf - https://github.com/adobe-fonts/source-code-pro/releases/download/variable-fonts/SourceCodeVariable-Roman.otf" -checksum="b2ca3a3c1fe0701ad74aa7c66c37972d07b1237197a816a1a5646c7e42a11353 - af8fdd265f6208816fde44062a27b79ce2a594ded44ea96055a1655b6869992d" +distfiles="https://github.com/adobe-fonts/source-code-pro/archive/${version}-ro/1.050R-it.tar.gz" +checksum=a4e4dd59b8e0a436b934f0f612c2e91b5932910c6d1c3b7d1a5a9f389c86302b font_dirs="/usr/share/fonts/OTF/" do_install() { - for i in ${wrksrc}/*; do - vinstall $i 644 ${font_dirs} + for i in ${wrksrc}/OTF/*.otf; do + vinstall $i 644 usr/share/fonts/OTF/ done } @@ -27,4 +24,4 @@ font-sourcecodepro_package() { build_style=meta depends="${sourcepkg}>=${version}_${revision}" short_desc+=" (transitional dummy package)" -} \ No newline at end of file +}