[arch-commits] Commit in font-bh-ttf/trunk (PKGBUILD install xfonts.install)

Gaetan Bisson bisson at archlinux.org
Mon Jan 5 05:03:25 UTC 2015


    Date: Monday, January 5, 2015 @ 06:03:25
  Author: bisson
Revision: 228439

install file update for fc-cache

Added:
  font-bh-ttf/trunk/install
    (from rev 228438, font-bh-ttf/trunk/xfonts.install)
Modified:
  font-bh-ttf/trunk/PKGBUILD
Deleted:
  font-bh-ttf/trunk/xfonts.install

----------------+
 PKGBUILD       |    4 ++--
 install        |   13 +++++++++++++
 xfonts.install |   15 ---------------
 3 files changed, 15 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-05 04:49:04 UTC (rev 228438)
+++ PKGBUILD	2015-01-05 05:03:25 UTC (rev 228439)
@@ -4,7 +4,7 @@
 
 pkgname=font-bh-ttf
 pkgver=1.0.3
-pkgrel=2
+pkgrel=3
 pkgdesc='X.org Luxi Truetype fonts'
 url='http://xorg.freedesktop.org/'
 license=('custom')
@@ -13,7 +13,7 @@
 source=("${url}/releases/individual/font/${pkgname}-${pkgver}.tar.bz2")
 sha1sums=('f42ebd527096011040a312e0f9cdf78d64177419')
 
-install=xfonts.install
+install=install
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"

Copied: font-bh-ttf/trunk/install (from rev 228438, font-bh-ttf/trunk/xfonts.install)
===================================================================
--- install	                        (rev 0)
+++ install	2015-01-05 05:03:25 UTC (rev 228439)
@@ -0,0 +1,13 @@
+post_install() {
+	fc-cache -s > /dev/null
+	mkfontscale usr/share/fonts/TTF
+	mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Deleted: xfonts.install
===================================================================
--- xfonts.install	2015-01-05 04:49:04 UTC (rev 228438)
+++ xfonts.install	2015-01-05 05:03:25 UTC (rev 228439)
@@ -1,15 +0,0 @@
-post_install() {
-  echo -n "Updating font cache... "
-  fc-cache -f -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