From 1951e1bd3e72fa10d305335f9029c090a1949d5f Mon Sep 17 00:00:00 2001 From: Piero La Terza Date: Sat, 8 Sep 2018 10:27:09 -0400 Subject: [PATCH] font-sourcecodepro: rename and update to 2.030 --- srcpkgs/font-adobe-source-code-pro/template | 27 +++++++++++++++++++++ srcpkgs/font-sourcecodepro | 1 + srcpkgs/font-sourcecodepro/template | 22 ----------------- 3 files changed, 28 insertions(+), 22 deletions(-) create mode 100644 srcpkgs/font-adobe-source-code-pro/template create mode 120000 srcpkgs/font-sourcecodepro delete mode 100644 srcpkgs/font-sourcecodepro/template diff --git a/srcpkgs/font-adobe-source-code-pro/template b/srcpkgs/font-adobe-source-code-pro/template new file mode 100644 index 0000000000..ce95d3df53 --- /dev/null +++ b/srcpkgs/font-adobe-source-code-pro/template @@ -0,0 +1,27 @@ +# Template file for 'font-adobe-source-code-pro' +pkgname=font-adobe-source-code-pro +version=2.030R +revision=1 +wrksrc="source-code-pro-${version}-ro-1.050R-it" +noarch=yes +depends="font-util" +font_dirs="/usr/share/fonts/OTF/" +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/archive/${version}-ro/1.050R-it.tar.gz" +checksum=a4e4dd59b8e0a436b934f0f612c2e91b5932910c6d1c3b7d1a5a9f389c86302b + +do_install() { + for i in ${wrksrc}/OTF/*.otf; do + vinstall $i 644 usr/share/fonts/OTF/ + done +} + +font-sourcecodepro_package() { + noarch=yes + build_style=meta + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" (transitional dummy package)" +} \ No newline at end of file diff --git a/srcpkgs/font-sourcecodepro b/srcpkgs/font-sourcecodepro new file mode 120000 index 0000000000..9485e45794 --- /dev/null +++ b/srcpkgs/font-sourcecodepro @@ -0,0 +1 @@ +font-adobe-source-code-pro \ No newline at end of file diff --git a/srcpkgs/font-sourcecodepro/template b/srcpkgs/font-sourcecodepro/template deleted file mode 100644 index 5eadfc01e8..0000000000 --- a/srcpkgs/font-sourcecodepro/template +++ /dev/null @@ -1,22 +0,0 @@ -# Template file for 'font-sourcecodepro' -pkgname=font-sourcecodepro -version=1.017R -revision=1 -noarch=yes -wrksrc=source-code-pro-${version} -hostmakedepends="unzip" -depends="font-util xbps-triggers>=0.58" -font_dirs="/usr/share/fonts/OTF /usr/share/fonts/TTF" -short_desc="Monospaced font family for user interface and coding environments" -maintainer="Mattias Giese " -homepage="http://adobe-fonts.github.io/source-code-pro/" -license="OFL-1.1" -distfiles="https://github.com/adobe-fonts/source-code-pro/archive/${version}.zip" -checksum=6753300ddc8f7c1e40bb64e3b0842ba0abcafa3cb92889d7c7a1ba2c8b0dfa82 - -do_install() { - vmkdir usr/share/fonts/TTF - vmkdir usr/share/fonts/OTF - install -m644 ${wrksrc}/TTF/*.ttf ${DESTDIR}/usr/share/fonts/TTF - install -m644 ${wrksrc}/OTF/*.otf ${DESTDIR}/usr/share/fonts/OTF -}