Github messages for voidlinux
 help / color / mirror / Atom feed
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:09:56 +0200	[thread overview]
Message-ID: <20210412020956.kutF9_f0aWS62UfgGMXdq3w6hTZcGfcGoPjvQ-mJEOw@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: 1307 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/29564#issuecomment-817431379

Comment:
I'm thinking about something like this:

```diff
diff --git a/srcpkgs/font-adobe-source-code-pro/template b/srcpkgs/font-adobe-source-code-pro/template
index b40277d7aa..a58d81e5fd 100644
--- a/srcpkgs/font-adobe-source-code-pro/template
+++ b/srcpkgs/font-adobe-source-code-pro/template
@@ -1,14 +1,15 @@
 # Template file for 'font-adobe-source-code-pro'
 pkgname=font-adobe-source-code-pro
-version=2.038R
+version=2.038R~ro+1.058R~it+1.018R~VAR
 revision=1
-wrksrc="source-code-pro-${version}-ro-1.058R-it-1.018R-VAR"
+_version="${version//\~/-}"
+wrksrc="source-code-pro-${_version//+/-}"
 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"
+distfiles="https://github.com/adobe-fonts/source-code-pro/archive/${_version//+//}.tar.gz"
 checksum=d8f879fefd66ecb7291ea2d73984b9c0a97fb499424e58290ba6b81787d0c725
 font_dirs="/usr/share/fonts/OTF/"
 
```

  parent reply	other threads:[~2021-04-12  2:09 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 [this message]
2021-04-12  2:18 ` sgn
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=20210412020956.kutF9_f0aWS62UfgGMXdq3w6hTZcGfcGoPjvQ-mJEOw@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).