[arch-commits] Commit in ttf-ubuntu-font-family/trunk (PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Tue Mar 23 21:30:28 UTC 2021
Date: Tuesday, March 23, 2021 @ 21:30:28
Author: mtorromeo
Revision: 901353
fontconfig config handling rebuild
Modified:
ttf-ubuntu-font-family/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-23 21:22:19 UTC (rev 901352)
+++ PKGBUILD 2021-03-23 21:30:28 UTC (rev 901353)
@@ -2,12 +2,11 @@
pkgname=ttf-ubuntu-font-family
pkgver=0.83
-pkgrel=6
+pkgrel=7
pkgdesc="Ubuntu font family"
arch=('any')
url="https://design.ubuntu.com/font/"
license=('custom:Ubuntu Font Licence 1.0')
-backup=(etc/fonts/conf.avail/81-ubuntu.conf)
source=(https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-$pkgver.zip
81-ubuntu.conf)
sha256sums=('456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42'
@@ -15,9 +14,9 @@
package() {
cd ubuntu-font-family-$pkgver
- install -dm755 "$pkgdir"/etc/fonts/conf.d
+ install -dm755 "$pkgdir"/usr/share/fontconfig/conf.default
install -Dm644 -t "$pkgdir"/usr/share/fonts/ubuntu *.ttf
install -Dm644 LICENCE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
- install -Dm644 "$srcdir"/81-ubuntu.conf "$pkgdir"/etc/fonts/conf.avail/81-ubuntu.conf
- ln -s ../conf.avail/81-ubuntu.conf "$pkgdir"/etc/fonts/conf.d/81-ubuntu.conf
+ install -Dm644 "$srcdir"/81-ubuntu.conf "$pkgdir"/usr/share/fontconfig/conf.avail/81-ubuntu.conf
+ ln -s ../conf.avail/81-ubuntu.conf "$pkgdir"/usr/share/fontconfig/conf.default/81-ubuntu.conf
}
More information about the arch-commits
mailing list