From 6b9d3be6837c698ad2c91c11161c3ea8ac413a8a Mon Sep 17 00:00:00 2001 From: Mattias Giese Date: Sun, 31 May 2015 23:17:18 +0200 Subject: [PATCH 1/3] new package: ttf and otf versions of source-code-pro --- srcpkgs/font-sourcecodepro/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/font-sourcecodepro/template diff --git a/srcpkgs/font-sourcecodepro/template b/srcpkgs/font-sourcecodepro/template new file mode 100644 index 00000000000..03980759ca9 --- /dev/null +++ b/srcpkgs/font-sourcecodepro/template @@ -0,0 +1,22 @@ +# 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="SIL Open Font License 1.1" +distfiles="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.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 +} From dcfcc47609e73648554831f25a20cbf467765a31 Mon Sep 17 00:00:00 2001 From: Mattias Giese Date: Mon, 1 Jun 2015 09:41:18 +0200 Subject: [PATCH 2/3] font-sourcecodepro: included suggestions by beefcurtains --- srcpkgs/font-sourcecodepro/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/font-sourcecodepro/template b/srcpkgs/font-sourcecodepro/template index 03980759ca9..b359d10ef0b 100644 --- a/srcpkgs/font-sourcecodepro/template +++ b/srcpkgs/font-sourcecodepro/template @@ -11,7 +11,7 @@ short_desc="Monospaced font family for user interface and coding environments" maintainer="Mattias Giese " homepage="http://adobe-fonts.github.io/source-code-pro/" license="SIL Open Font License 1.1" -distfiles="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip" +distfiles="https://github.com/adobe-fonts/source-code-pro/archive/${version}.zip" checksum=6753300ddc8f7c1e40bb64e3b0842ba0abcafa3cb92889d7c7a1ba2c8b0dfa82 do_install() { @@ -19,4 +19,5 @@ do_install() { 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 + vlicense ${wrksrc}/LICENSE.txt SIL_Open_Font_License_1.1 } From 049e4f9c2d1718dbd0212959b17f10bac0281327 Mon Sep 17 00:00:00 2001 From: Mattias Giese Date: Tue, 2 Jun 2015 11:06:01 +0200 Subject: [PATCH 3/3] font-sourcecodepro: Adjusted license, following Juan RPs request --- srcpkgs/font-sourcecodepro/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/font-sourcecodepro/template b/srcpkgs/font-sourcecodepro/template index b359d10ef0b..5eadfc01e89 100644 --- a/srcpkgs/font-sourcecodepro/template +++ b/srcpkgs/font-sourcecodepro/template @@ -10,7 +10,7 @@ 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="SIL Open Font License 1.1" +license="OFL-1.1" distfiles="https://github.com/adobe-fonts/source-code-pro/archive/${version}.zip" checksum=6753300ddc8f7c1e40bb64e3b0842ba0abcafa3cb92889d7c7a1ba2c8b0dfa82 @@ -19,5 +19,4 @@ do_install() { 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 - vlicense ${wrksrc}/LICENSE.txt SIL_Open_Font_License_1.1 }