New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
font-adobe-source-code-pro: update to 2.038R. #29564
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
travankor
force-pushed
the
source-code-pro
branch
2 times, most recently
from
March 18, 2021 13:19
02e7c9c
to
c97d307
Compare
sgn
reviewed
Mar 18, 2021
sgn
reviewed
Mar 18, 2021
travankor
force-pushed
the
source-code-pro
branch
from
March 18, 2021 23:06
c97d307
to
2d8e861
Compare
@sgn satisfied or still need to add the custom |
I don't care that much. |
I'm thinking about something like this: 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/"
|
Or even this: 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
} |
travankor
force-pushed
the
source-code-pro
branch
from
April 13, 2021 23:40
2d8e861
to
fa2965d
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
General
Have the results of the proposed changes been tested?
Should the transitional dummy package be removed?