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

30 lines
1.0 KiB
Bash

# Template file for 'font-adobe-source-code-pro'
pkgname=font-adobe-source-code-pro
reverts="2.030R_1"
version=1.010
revision=2
archs=noarch
build_style=fetch
depends="font-util"
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/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"
font_dirs="/usr/share/fonts/OTF/"
do_install() {
for i in ${wrksrc}/*; do
vinstall $i 644 ${font_dirs}
done
}
font-sourcecodepro_package() {
archs=noarch
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}