[arch-commits] Commit in ttf-ubuntu-font-family/repos/community-any (4 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Sat Jan 3 11:50:47 UTC 2015


    Date: Saturday, January 3, 2015 @ 12:50:46
  Author: mtorromeo
Revision: 125211

archrelease: copy trunk to community-any

Added:
  ttf-ubuntu-font-family/repos/community-any/PKGBUILD
    (from rev 125210, ttf-ubuntu-font-family/trunk/PKGBUILD)
  ttf-ubuntu-font-family/repos/community-any/ttf-ubuntu-font-family.install
    (from rev 125210, ttf-ubuntu-font-family/trunk/ttf-ubuntu-font-family.install)
Deleted:
  ttf-ubuntu-font-family/repos/community-any/PKGBUILD
  ttf-ubuntu-font-family/repos/community-any/ttf-ubuntu-font-family.install

--------------------------------+
 PKGBUILD                       |   46 +++++++++++++++++++--------------------
 ttf-ubuntu-font-family.install |   27 +++++++++++-----------
 2 files changed, 37 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-03 11:49:22 UTC (rev 125210)
+++ PKGBUILD	2015-01-03 11:50:46 UTC (rev 125211)
@@ -1,23 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=ttf-ubuntu-font-family
-pkgver=0.80
-pkgrel=4
-pkgdesc="Ubuntu font family"
-arch=('any')
-url="http://font.ubuntu.com/"
-license=('custom:Ubuntu Font Licence 1.0')
-depends=('fontconfig' 'xorg-font-utils')
-provides=('ttf-font')
-install=ttf-ubuntu-font-family.install
-source=(http://font.ubuntu.com/download/ubuntu-font-family-$pkgver.zip)
-sha256sums=('107170099bbc3beae8602b97a5c423525d363106c3c24f787d43e09811298e4c')
-
-package() {
-	cd "$srcdir/ubuntu-font-family-$pkgver"
-	install -m755 -d "$pkgdir/usr/share/fonts/TTF"
-	install -m644 Ubuntu-{L,R,B,C}*.ttf "$pkgdir/usr/share/fonts/TTF/"
-	install -m644 UbuntuMono-*.ttf "$pkgdir/usr/share/fonts/TTF/"
-	install -D -m644 LICENCE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENCE"
-}

Copied: ttf-ubuntu-font-family/repos/community-any/PKGBUILD (from rev 125210, ttf-ubuntu-font-family/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-01-03 11:50:46 UTC (rev 125211)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=ttf-ubuntu-font-family
+pkgver=0.80
+pkgrel=5
+pkgdesc="Ubuntu font family"
+arch=('any')
+url="http://font.ubuntu.com/"
+license=('custom:Ubuntu Font Licence 1.0')
+depends=('fontconfig' 'xorg-font-utils')
+provides=('ttf-font')
+install=ttf-ubuntu-font-family.install
+source=(http://font.ubuntu.com/download/ubuntu-font-family-$pkgver.zip)
+sha256sums=('107170099bbc3beae8602b97a5c423525d363106c3c24f787d43e09811298e4c')
+
+package() {
+	cd "$srcdir/ubuntu-font-family-$pkgver"
+	install -m755 -d "$pkgdir/usr/share/fonts/TTF"
+	install -m644 Ubuntu-{L,R,B,C}*.ttf "$pkgdir/usr/share/fonts/TTF/"
+	install -m644 UbuntuMono-*.ttf "$pkgdir/usr/share/fonts/TTF/"
+	install -D -m644 LICENCE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENCE"
+}

Deleted: ttf-ubuntu-font-family.install
===================================================================
--- ttf-ubuntu-font-family.install	2015-01-03 11:49:22 UTC (rev 125210)
+++ ttf-ubuntu-font-family.install	2015-01-03 11:50:46 UTC (rev 125211)
@@ -1,13 +0,0 @@
-post_install() {
-	fc-cache -fs > /dev/null
-	mkfontscale /usr/share/fonts/TTF
-	mkfontdir /usr/share/fonts/TTF
-}
-
-post_upgrade() {
-	post_install
-}
-
-post_remove() {
-	post_install
-}

Copied: ttf-ubuntu-font-family/repos/community-any/ttf-ubuntu-font-family.install (from rev 125210, ttf-ubuntu-font-family/trunk/ttf-ubuntu-font-family.install)
===================================================================
--- ttf-ubuntu-font-family.install	                        (rev 0)
+++ ttf-ubuntu-font-family.install	2015-01-03 11:50:46 UTC (rev 125211)
@@ -0,0 +1,14 @@
+post_install() {
+	echo "updating font cache..."
+	fc-cache -s
+	mkfontscale /usr/share/fonts/TTF
+	mkfontdir /usr/share/fonts/TTF
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list