[arch-commits] Commit in ttf-liberation/trunk (PKGBUILD ttf.install)

Lukas Fleischer lfleischer at archlinux.org
Sat Jan 14 13:04:29 UTC 2017


    Date: Saturday, January 14, 2017 @ 13:04:28
  Author: lfleischer
Revision: 207328

upgpkg: ttf-liberation 2.00.1-7

fontconfig/xorg-mkfontdir hooks cleanup.

Modified:
  ttf-liberation/trunk/PKGBUILD
Deleted:
  ttf-liberation/trunk/ttf.install

-------------+
 PKGBUILD    |    4 +---
 ttf.install |   16 ----------------
 2 files changed, 1 insertion(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-14 12:18:28 UTC (rev 207327)
+++ PKGBUILD	2017-01-14 13:04:28 UTC (rev 207328)
@@ -1,4 +1,3 @@
-# $Id$
 # Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
 # Contributor: Ronald van Haren <ronald.archlinux.org>
 # Contributor: Roman Kyrylych <Roman.Kyrylych at gmail.com>
@@ -8,7 +7,7 @@
 
 pkgname=ttf-liberation
 pkgver=2.00.1
-pkgrel=6
+pkgrel=7
 pkgdesc='Red Hats Liberation fonts.'
 arch=('any')
 license=('custom:OFL')
@@ -15,7 +14,6 @@
 url='https://www.redhat.com/promo/fonts/'
 depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
 provides=('ttf-font')
-install=ttf.install
 source=("https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-$pkgver.tar.gz"
         30-0-liberation-mono.conf
         30-0-liberation-sans.conf

Deleted: ttf.install
===================================================================
--- ttf.install	2017-01-14 12:18:28 UTC (rev 207327)
+++ ttf.install	2017-01-14 13:04:28 UTC (rev 207328)
@@ -1,16 +0,0 @@
-post_install() {
-  echo -n "Updating font cache... "
-  fc-cache -s > /dev/null
-  mkfontscale /usr/share/fonts/TTF
-  mkfontdir /usr/share/fonts/TTF
-  echo "done."
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}
-



More information about the arch-commits mailing list