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

Jan Steffens heftig at archlinux.org
Thu Jul 11 16:46:28 UTC 2019


    Date: Thursday, July 11, 2019 @ 16:46:28
  Author: heftig
Revision: 488922

0.83-5: Remove unneeded depends and bad provides

Modified:
  ttf-ubuntu-font-family/trunk/81-ubuntu.conf	(properties)
  ttf-ubuntu-font-family/trunk/PKGBUILD

----------------+
 81-ubuntu.conf |    2 +-
 PKGBUILD       |   12 +++++-------
 2 files changed, 6 insertions(+), 8 deletions(-)

Index: ttf-ubuntu-font-family/trunk/81-ubuntu.conf
===================================================================
--- 81-ubuntu.conf	2019-07-11 16:35:38 UTC (rev 488921)
+++ 81-ubuntu.conf	2019-07-11 16:46:28 UTC (rev 488922)

Property changes on: ttf-ubuntu-font-family/trunk/81-ubuntu.conf
___________________________________________________________________
Modified: svn:mime-type
## -1 +1 ##
-application/xml
\ No newline at end of property
+text/xml
\ No newline at end of property
Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-11 16:35:38 UTC (rev 488921)
+++ PKGBUILD	2019-07-11 16:46:28 UTC (rev 488922)
@@ -2,13 +2,11 @@
 
 pkgname=ttf-ubuntu-font-family
 pkgver=0.83
-pkgrel=4
+pkgrel=5
 pkgdesc="Ubuntu font family"
 arch=('any')
-url="http://font.ubuntu.com/"
+url="https://design.ubuntu.com/font/"
 license=('custom:Ubuntu Font Licence 1.0')
-depends=('fontconfig' 'xorg-font-utils')
-provides=('ttf-font')
 backup=(etc/fonts/conf.avail/81-ubuntu.conf)
 source=(https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-$pkgver.zip
         81-ubuntu.conf)
@@ -16,9 +14,9 @@
             '16e29b1b8d13edddb588e4470f6da4c15870a9a27dd25eb4553c2c575d6dc14e')
 
 package() {
-	cd "$srcdir"/ubuntu-font-family-$pkgver
-	install -dm755 "$pkgdir"/usr/share/fonts/TTF "$pkgdir"/etc/fonts/conf.d
-	install -m644 Ubuntu{,Mono}-*.ttf "$pkgdir"/usr/share/fonts/TTF/
+	cd ubuntu-font-family-$pkgver
+	install -dm755 "$pkgdir"/etc/fonts/conf.d
+	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



More information about the arch-commits mailing list