From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: font-adobe-source-code-pro: update to 2.038R.
Date: Mon, 12 Apr 2021 04:18:07 +0200 [thread overview]
Message-ID: <20210412021807.-nZZFSckVNxrGLS1ZpJyzRIqvFcrdRMeDOJ_kkGhK3M@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29564@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/pull/29564#issuecomment-817433642
Comment:
Or even this:
```diff
diff --git a/srcpkgs/font-adobe-source-code-pro/template b/srcpkgs/font-adobe-source-code-pro/template
index b40277d7aa..b804f0c916 100644
--- a/srcpkgs/font-adobe-source-code-pro/template
+++ b/srcpkgs/font-adobe-source-code-pro/template
@@ -1,19 +1,21 @@
# Template file for 'font-adobe-source-code-pro'
pkgname=font-adobe-source-code-pro
-version=2.038R
+version=2.038R~ro+1.058R~it
revision=1
-wrksrc="source-code-pro-${version}-ro-1.058R-it-1.018R-VAR"
+_version="${version//\~/-}"
+create_wrksrc=yes
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/archive/${version}-ro/1.058R-it/1.018R-VAR.tar.gz"
-checksum=d8f879fefd66ecb7291ea2d73984b9c0a97fb499424e58290ba6b81787d0c725
+distfiles="https://github.com/adobe-fonts/source-code-pro/archive/${_version//+//}.tar.gz"
+distfiles="https://github.com/adobe-fonts/source-code-pro/releases/download/${_version//+/%2F}%2F1.018R-VAR/OTF-source-code-pro-${_version//+/-}.zip"
+checksum=478028ec70adc1ff73848a546c3ad266716a0096cd1f1a1ef18aeff0199d5996
font_dirs="/usr/share/fonts/OTF/"
do_install() {
- for i in ${wrksrc}/*/*.otf; do
+ for i in SourceCodePro-*.otf; do
vinstall $i 644 usr/share/fonts/OTF/
done
}
```
next prev parent reply other threads:[~2021-04-12 2:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-18 13:07 [PR PATCH] " travankor
2021-03-18 13:13 ` [PR PATCH] [Updated] " travankor
2021-03-18 13:19 ` travankor
2021-03-18 14:00 ` [PR REVIEW] " sgn
2021-03-18 14:01 ` sgn
2021-03-18 23:06 ` [PR PATCH] [Updated] " travankor
2021-04-11 3:39 ` ericonr
2021-04-11 14:13 ` sgn
2021-04-12 2:09 ` sgn
2021-04-12 2:18 ` sgn [this message]
2021-04-13 23:40 ` [PR PATCH] [Updated] " travankor
2021-07-02 13:03 ` sgn
2021-07-02 13:03 ` [PR PATCH] [Merged]: " sgn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210412021807.-nZZFSckVNxrGLS1ZpJyzRIqvFcrdRMeDOJ_kkGhK3M@z \
--to=sgn@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).