[arch-commits] Commit in ttf-ubraille/trunk (PKGBUILD install ttf.install)
Gaetan Bisson
bisson at nymeria.archlinux.org
Sat Jun 15 05:02:30 UTC 2013
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
===================================================================
--- PKGBUILD 2013-06-15 05:01:07 UTC (rev 188508)
+++ PKGBUILD 2013-06-15 05:02:30 UTC (rev 188509)
@@ -1,21 +1,23 @@
# $Id$
-# Maintainer: Firmicus <francois.archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
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
-}
More information about the arch-commits
mailing list