void-packages/srcpkgs/font-adobe-source-code-pro/template

27 lines
858 B
Bash
Raw Normal View History

# 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)"
}