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

Jan Steffens heftig at archlinux.org
Tue Jan 26 12:00:59 UTC 2021


    Date: Tuesday, January 26, 2021 @ 12:00:58
  Author: heftig
Revision: 406769

4.004-1

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

----------+
 PKGBUILD |   26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-26 11:57:34 UTC (rev 406768)
+++ PKGBUILD	2021-01-26 12:00:58 UTC (rev 406769)
@@ -1,18 +1,28 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=adobe-source-serif-pro-fonts
-pkgver=3.001
-pkgrel=2
-pkgdesc="Serif typeface for setting text. Designed to complement Source Sans Pro"
-url="https://adobe-fonts.github.io/source-serif-pro/"
+pkgver=4.004
+pkgrel=1
+pkgdesc="Serif typeface designed to complement Source Sans"
+url="https://adobe-fonts.github.io/source-serif/"
 arch=(any)
 license=(custom)
 _relver=${pkgver}R
-_tarname=source-serif-pro-$_relver
-source=("$_tarname.tar.gz::https://github.com/adobe-fonts/source-serif-pro/archive/$_relver.tar.gz")
-sha256sums=('84e08c9e870081e0fcda4d83b02e06a4a7f35e52f96491a2246eca8b82fc8a53')
+_tarname=source-serif-$_relver
+_oldver=3.001R
+_oldname=source-serif-$_oldver
+source=("$_tarname.tar.gz::https://github.com/adobe-fonts/source-serif/archive/$_relver.tar.gz"
+        "$_oldname.tar.gz::https://github.com/adobe-fonts/source-serif/archive/$_oldver.tar.gz")
+sha256sums=('dfb364735699cb830caad534cf7741234804d28e4b6fc5e4736b2401f6131aba'
+            '6be29a6ecc275d39f77d608fba576ee1976287f65823bde61309dc907023410c')
 
 package() {
+  # "Source Serif Pro"
+  cd $_oldname
+  install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
+  cd ..
+
+  # "Source Serif 4"
   cd $_tarname
   install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 OTF/*.otf VAR/*.otf
   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.md



More information about the arch-commits mailing list