summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Crerar2017-11-16 13:22:14 -0500
committerAndrew Crerar2017-11-16 13:22:14 -0500
commit32f1fdf075d5de421fe0a1ec1b0a17f1a7ce7199 (patch)
treee246bfdbd501b9e7960df0db152be2d86895b9be
parentaa76df211f93b67dda60f73cd5d54f62e2295335 (diff)
downloadaur-32f1fdf075d5de421fe0a1ec1b0a17f1a7ce7199.tar.gz
Updating sed command to reflect fix in fontconfig 2.12.6+5+g665584a-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b03961de1777..6e075fc6b686 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ttf-google-fonts-git
pkgdesc = TrueType fonts from the Google Fonts project (git version)
pkgver = r1212.a16b8302
- pkgrel = 3
+ pkgrel = 4
epoch = 1
url = https://github.com/google/fonts
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index a975576b290f..3fb3d7bc7729 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@
pkgname=ttf-google-fonts-git
pkgver=r1212.a16b8302
-pkgrel=3
+pkgrel=4
epoch=1
pkgdesc="TrueType fonts from the Google Fonts project (git version)"
arch=('any')
@@ -99,7 +99,7 @@ package() {
[open-sans]=1 [oswald]=1 [quintessential]=1)
while IFS= read -rd '' file; do
- font_family=$(fc-query -f '%{family[0]|downcase|translate( ,-)}\n' "$file" | sed -n '2p')
+ font_family=$(fc-query -f '%{family[0]|downcase|translate( ,-)}\n' "$file" | sed -n '1p')
# NOTE: Skip the rest of the loop if we're not supposed to be touching this family
((omitted_font_families["$font_family"])) && continue