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

2015-01-04 Thread Gaetan Bisson
Date: Monday, January 5, 2015 @ 06:06:29
  Author: bisson
Revision: 228453

install file update for fc-cache

Modified:
  ttf-ubraille/trunk/PKGBUILD
  ttf-ubraille/trunk/install

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

Modified: PKGBUILD
===
--- PKGBUILD2015-01-05 05:06:17 UTC (rev 228452)
+++ PKGBUILD2015-01-05 05:06:29 UTC (rev 228453)
@@ -5,7 +5,7 @@
 
 pkgname=ttf-ubraille
 pkgver=001.000
-pkgrel=7
+pkgrel=8
 pkgdesc='Unicode Braillt font'
 url='http://yudit.org/download/fonts/UBraille/'
 arch=('any')

Modified: install
===
--- install 2015-01-05 05:06:17 UTC (rev 228452)
+++ install 2015-01-05 05:06:29 UTC (rev 228453)
@@ -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-ubraille/trunk (PKGBUILD install ttf.install)

2013-06-14 Thread Gaetan Bisson
Date: Saturday, June 15, 2013 @ 07:02:30
  Author: bisson
Revision: 188509

free rebuild

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

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

Modified: PKGBUILD
===
--- PKGBUILD2013-06-15 05:01:07 UTC (rev 188508)
+++ PKGBUILD2013-06-15 05:02:30 UTC (rev 188509)
@@ -1,21 +1,23 @@
 # $Id$
-# Maintainer: Firmicus 
+# Maintainer: Gaetan Bisson 
+# Contributor: Firmicus 
 # Contributor: Damir Perisa 
 
 pkgname=ttf-ubraille
 pkgver=001.000
-pkgrel=6
-pkgdesc="Unicode TTFonts for braille"
+pkgrel=7
+pkgdesc='Unicode Braillt font'
+url='http://yudit.org/download/fonts/UBraille/'
 arch=('any')
-url="http://yudit.org/download/fonts/UBraille/";
 license=('GPL')
 depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 
'fontconfig')
-install=ttf.install
 source=("http://yudit.org/download/fonts/UBraille/UBraille.ttf";)
-md5sums=('4a8b8d06a4d6955a5c7319ce8440970c')
+sha1sums=('ad018068e0ca3bfb4683f224bebd0304518dece0')
 
+install=install
+
 package() {
-  cd ${srcdir}
-  install -d ${pkgdir}/usr/share/fonts/TTF
-  install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/
+   cd ${srcdir}
+   install -d ${pkgdir}/usr/share/fonts/TTF
+   install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/
 }

Copied: ttf-ubraille/trunk/install (from rev 188495, 
ttf-ubraille/trunk/ttf.install)
===
--- install (rev 0)
+++ install 2013-06-15 05:02:30 UTC (rev 188509)
@@ -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 05:01:07 UTC (rev 188508)
+++ ttf.install 2013-06-15 05:02:30 UTC (rev 188509)
@@ -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
-}