[arch-commits] Commit in adobe-source-code-pro-fonts/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Nov 17 10:02:42 UTC 2020


    Date: Tuesday, November 17, 2020 @ 10:02:42
  Author: heftig
Revision: 401307

2.032ro+1.052it+1.012var-1

Modified:
  adobe-source-code-pro-fonts/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-17 09:52:34 UTC (rev 401306)
+++ PKGBUILD	2020-11-17 10:02:42 UTC (rev 401307)
@@ -1,26 +1,21 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=adobe-source-code-pro-fonts
-pkgver=2.030ro+1.050it
-_relver=2.030R-ro/1.050R-it
-pkgrel=6
+pkgver=2.032ro+1.052it+1.012var
+pkgrel=1
 pkgdesc="Monospaced font family for user interface and coding environments"
 url="https://adobe-fonts.github.io/source-code-pro/"
 arch=(any)
 license=(custom)
+_relver=2.032R-ro/1.052R-it/1.012R-VAR
 _tarname=source-code-pro-${_relver//\//-}
-source=("$_tarname.tar.gz::https://github.com/adobe-fonts/source-code-pro/archive/$_relver.tar.gz"
-        https://github.com/adobe-fonts/source-code-pro/releases/download/variable-fonts/SourceCodeVariable-Roman.otf
-        https://github.com/adobe-fonts/source-code-pro/releases/download/variable-fonts/SourceCodeVariable-Italic.otf)
-sha256sums=('a4e4dd59b8e0a436b934f0f612c2e91b5932910c6d1c3b7d1a5a9f389c86302b'
-            'af8fdd265f6208816fde44062a27b79ce2a594ded44ea96055a1655b6869992d'
-            'b2ca3a3c1fe0701ad74aa7c66c37972d07b1237197a816a1a5646c7e42a11353')
+source=("$_tarname.tar.gz::https://github.com/adobe-fonts/source-code-pro/archive/$_relver.tar.gz")
+sha256sums=('4e21492169b9efdd8c40ed6c34aa0d5e58d2a8724d0cd98f2e0f88ccf5ecc78c')
 
 package() {
   cd $_tarname
-  install -d "$pkgdir/usr/share/fonts/${pkgname%-fonts}"
-  install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf ../*.otf
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.md
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list