[arch-commits] Commit in ttf-ibm-plex/trunk (PKGBUILD)

Santiago Torres-Arias sangy at gemini.archlinux.org
Wed Aug 25 00:45:04 UTC 2021


    Date: Wednesday, August 25, 2021 @ 00:45:04
  Author: sangy
Revision: 1004691

upgpkg: ttf-ibm-plex 5.2.1-2

Fixes #67607. Thanks Adria Arrufat!

Modified:
  ttf-ibm-plex/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-25 00:33:09 UTC (rev 1004690)
+++ PKGBUILD	2021-08-25 00:45:04 UTC (rev 1004691)
@@ -3,10 +3,11 @@
 # Contributor: Matt Spaulding <matt at mattops dot io>
 # Contributor: pyjano <pyjano at protonmail dot com>
 # Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Adrià Arrufat <swiftscythe at gmail.com>
 
 pkgname=ttf-ibm-plex
 pkgver=5.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="IBM Plex Mono, Sans, and Serif"
 arch=('any')
 url='https://github.com/IBM/plex'
@@ -13,13 +14,14 @@
 license=('custom:OFL')
 source=("${url}/releases/download/v${pkgver}/TrueType.zip")
 provides=('ttf-font')
-sha256sums=('5564f79bfdc4a56f9f27aacc68b6b175ab205eba668e496f44a12051f3a337ad')
+sha256sums=('6ee1073ce3568de2b537a44c556f436020eea42b05864be0c4ed2e9c81ba099c')
 
 conflicts=('ibm-plex-fonts')
 
 package() {
     cd TrueType
-    install -Dm644 */*.ttf -t "${pkgdir}/usr/share/fonts/TTF"
+    find -name *.ttf ! -path "*/unhinted/*" \
+         -exec install -Dm644 {} -t "${pkgdir}/usr/share/fonts/TTF" \;
 
     # All the other licenses are the same as the one here...
     install -Dm644 IBM-Plex-Mono/license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"



More information about the arch-commits mailing list