[arch-commits] Commit in ttf-ubuntu-font-family/trunk (PKGBUILD)

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Jul 24 07:32:39 UTC 2017


    Date: Monday, July 24, 2017 @ 07:32:38
  Author: mtorromeo
Revision: 246194

upgpkg: ttf-ubuntu-font-family 0.83-3

Fix fontconfig file location (FS#54904)

Modified:
  ttf-ubuntu-font-family/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-24 07:20:46 UTC (rev 246193)
+++ PKGBUILD	2017-07-24 07:32:38 UTC (rev 246194)
@@ -3,7 +3,7 @@
 
 pkgname=ttf-ubuntu-font-family
 pkgver=0.83
-pkgrel=2
+pkgrel=3
 pkgdesc="Ubuntu font family"
 arch=('any')
 url="http://font.ubuntu.com/"
@@ -10,7 +10,7 @@
 license=('custom:Ubuntu Font Licence 1.0')
 depends=('fontconfig' 'xorg-font-utils')
 provides=('ttf-font')
-backup=(etc/fonts/conf.d/81-ubuntu.conf)
+backup=(etc/fonts/conf.avail/81-ubuntu.conf)
 source=(http://font.ubuntu.com/download/ubuntu-font-family-$pkgver.zip
         81-ubuntu.conf)
 sha256sums=('456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42'
@@ -18,8 +18,9 @@
 
 package() {
 	cd "$srcdir"/ubuntu-font-family-$pkgver
-	install -dm755 "$pkgdir"/usr/share/fonts/TTF
+	install -dm755 "$pkgdir"/usr/share/fonts/TTF "$pkgdir"/etc/fonts/conf.d
 	install -m644 Ubuntu{,Mono}-*.ttf "$pkgdir"/usr/share/fonts/TTF/
 	install -Dm644 LICENCE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-	install -Dm644 "$srcdir"/81-ubuntu.conf "$pkgdir"/etc/fonts/conf.d/81-ubuntu.conf
+	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
 }



More information about the arch-commits mailing list