[arch-commits] Commit in ttf-tibetan-machine/trunk (PKGBUILD install)

2015-01-04 Thread Gaetan Bisson
Date: Monday, January 5, 2015 @ 06:05:59
  Author: bisson
Revision: 228451

install file update for fc-cache

Modified:
  ttf-tibetan-machine/trunk/PKGBUILD
  ttf-tibetan-machine/trunk/install

--+
 PKGBUILD |2 +-
 install  |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-01-05 05:05:46 UTC (rev 228450)
+++ PKGBUILD2015-01-05 05:05:59 UTC (rev 228451)
@@ -5,7 +5,7 @@
 
 pkgname=ttf-tibetan-machine
 pkgver=1.901
-pkgrel=6
+pkgrel=7
 pkgdesc='Open-type unicode font for Tibetan'
 url='http://www.thlib.org/tools/scripts/wiki/tibetan%20machine%20uni.html'
 arch=('any')

Modified: install
===
--- install 2015-01-05 05:05:46 UTC (rev 228450)
+++ install 2015-01-05 05:05:59 UTC (rev 228451)
@@ -1,5 +1,5 @@
 post_install() {
-   fc-cache -fs
+   fc-cache -s > /dev/null
mkfontscale usr/share/fonts/TTF
mkfontdir usr/share/fonts/TTF
 }


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

2013-06-14 Thread Gaetan Bisson
Date: Saturday, June 15, 2013 @ 06:57:16
  Author: bisson
Revision: 188506

free rebuild

Added:
  ttf-tibetan-machine/trunk/install
(from rev 188495, ttf-tibetan-machine/trunk/ttf.install)
Modified:
  ttf-tibetan-machine/trunk/PKGBUILD
Deleted:
  ttf-tibetan-machine/trunk/ttf.install

-+
 PKGBUILD|   19 ++-
 install |   13 +
 ttf.install |   15 ---
 3 files changed, 23 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-06-15 04:52:30 UTC (rev 188505)
+++ PKGBUILD2013-06-15 04:57:16 UTC (rev 188506)
@@ -1,22 +1,23 @@
 # $Id$
-# Maintainer:
+# Maintainer: Gaetan Bisson 
 # Contributor: Firmicus  
 # Contributor: Damir Perisa 
 
 pkgname=ttf-tibetan-machine
 pkgver=1.901
-pkgrel=5
-pkgdesc="Tibetan Machine TTFont"
+pkgrel=6
+pkgdesc='Open-type unicode font for Tibetan'
+url='http://www.thlib.org/tools/scripts/wiki/tibetan%20machine%20uni.html'
 arch=('any')
-url="http://www.thlib.org/tools/#wiki=/access/wiki/site/26a34146-33a6-48ce-001e-f16ce7908a6a/tibetan%20machine%20uni.html";
 license=('GPL3')
 depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 
'fontconfig')
-install=ttf.install
 
source=("https://collab.itc.virginia.edu/access/content/group/26a34146-33a6-48ce-001e-f16ce7908a6a/Tibetan%20fonts/Tibetan%20Unicode%20Fonts/TibetanMachineUnicodeFont.zip";)
-md5sums=('3913adda5d7fe4b5da561f5d35497967')
+sha1sums=('a5729545f5f57b76a26a150d5b18bfeff958b29e')
 
+install=install
+
 package() {
-  cd ${srcdir}
-  install -d ${pkgdir}/usr/share/fonts/TTF
-  install -m644 TibetanMachineUnicodeFont/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+   cd ${srcdir}
+   install -d ${pkgdir}/usr/share/fonts/TTF
+   install -m644 TibetanMachineUnicodeFont/*.ttf 
${pkgdir}/usr/share/fonts/TTF/
 }

Copied: ttf-tibetan-machine/trunk/install (from rev 188495, 
ttf-tibetan-machine/trunk/ttf.install)
===
--- install (rev 0)
+++ install 2013-06-15 04:57:16 UTC (rev 188506)
@@ -0,0 +1,13 @@
+post_install() {
+   fc-cache -fs
+   mkfontscale usr/share/fonts/TTF
+   mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+   post_install
+}
+
+post_remove() {
+   post_install
+}

Deleted: ttf.install
===
--- ttf.install 2013-06-15 04:52:30 UTC (rev 188505)
+++ ttf.install 2013-06-15 04:57:16 UTC (rev 188506)
@@ -1,15 +0,0 @@
-post_install() {
-  echo -n "Updating font cache... "
-  fc-cache -f > /dev/null
-  mkfontscale usr/share/fonts/TTF
-  mkfontdir usr/share/fonts/TTF
-  echo "done."
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}