[arch-commits] Commit in ttf-junicode/trunk (PKGBUILD install ttf.install)
Gaetan Bisson
bisson at archlinux.org
Mon Jan 5 05:04:52 UTC 2015
Date: Monday, January 5, 2015 @ 06:04:52
Author: bisson
Revision: 228447
install file update for fc-cache
Added:
ttf-junicode/trunk/install
(from rev 228438, ttf-junicode/trunk/ttf.install)
Modified:
ttf-junicode/trunk/PKGBUILD
Deleted:
ttf-junicode/trunk/ttf.install
-------------+
PKGBUILD | 4 ++--
install | 13 +++++++++++++
ttf.install | 15 ---------------
3 files changed, 15 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-05 05:04:42 UTC (rev 228446)
+++ PKGBUILD 2015-01-05 05:04:52 UTC (rev 228447)
@@ -4,7 +4,7 @@
pkgname=ttf-junicode
pkgver=0.7.8
-pkgrel=2
+pkgrel=3
pkgdesc='Junius-Unicode: a Unicode font targeted at medievalists'
url='http://junicode.sourceforge.net'
license=('custom:OFL')
@@ -15,7 +15,7 @@
sha1sums=('492946ca18c3e23febd7c77221ff438ad85d2147'
'84e2137ba63c1983a1e36371fc7e08ef5d94542e')
-install=ttf.install
+install=install
package() {
cd "${srcdir}/junicode"
Copied: ttf-junicode/trunk/install (from rev 228438, ttf-junicode/trunk/ttf.install)
===================================================================
--- install (rev 0)
+++ install 2015-01-05 05:04:52 UTC (rev 228447)
@@ -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: ttf.install
===================================================================
--- ttf.install 2015-01-05 05:04:42 UTC (rev 228446)
+++ ttf.install 2015-01-05 05:04:52 UTC (rev 228447)
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -s -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
-}
More information about the arch-commits
mailing list