font-sourcecodepro: rename and update to 2.030

This commit is contained in:
Piero La Terza 2018-09-08 10:27:09 -04:00 committed by maxice8
parent f523df1638
commit 1951e1bd3e
3 changed files with 28 additions and 22 deletions

View File

@ -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 <platerza@protonmail.com>"
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)"
}

1
srcpkgs/font-sourcecodepro Symbolic link
View File

@ -0,0 +1 @@
font-adobe-source-code-pro

View File

@ -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 <mattias@s99.be>"
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
}