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

Jan Steffens heftig at archlinux.org
Mon Jun 28 21:31:11 UTC 2021


    Date: Monday, June 28, 2021 @ 21:31:11
  Author: heftig
Revision: 418766

4.004-2

Added:
  adobe-source-serif-fonts/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-28 21:31:11 UTC (rev 418766)
@@ -0,0 +1,33 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=adobe-source-serif-fonts
+pkgver=4.004
+pkgrel=2
+pkgdesc="Serif typeface designed to complement Source Sans"
+url="https://adobe-fonts.github.io/source-serif/"
+arch=(any)
+license=(custom)
+provides=("adobe-source-serif-pro-fonts=$pkgver")
+replaces=('adobe-source-serif-pro-fonts<=4.004-1')
+_relver=${pkgver}R
+_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
+}
+
+# vim:set sw=2 et:




More information about the arch-commits mailing list