[Lunar-commits] <moonbase> truetype: complete the install with mkfontdir.
Florin Braescu
florin at lunar-linux.org
Mon Sep 29 14:46:06 CEST 2008
commit 0912f6a9b2153bbc2c5cfe4a35f404ee4ac44186
Author: Florin Braescu <florin at lunar-linux.org>
Date: Mon Sep 29 15:46:06 2008 +0300
truetype: complete the install with mkfontdir.
---
fonts/truetype/BUILD | 9 +++++----
fonts/truetype/DEPENDS | 2 ++
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/fonts/truetype/BUILD b/fonts/truetype/BUILD
index bbf0460..071742c 100644
--- a/fonts/truetype/BUILD
+++ b/fonts/truetype/BUILD
@@ -2,13 +2,14 @@
TTFD=/usr/share/fonts/truetype
- prepare_install &&
+ prepare_install &&
if [ ! -d $TTFD ] ; then
mkdir -p $TTFD
- fi &&
-
- cp -f $SOURCE_DIRECTORY/*.ttf $TTFD
+ fi &&
+ cp -f $SOURCE_DIRECTORY/*.ttf $TTFD &&
+ cd $TTFD &&
+ mkfontdir
) > $C_FIFO 2>&1
diff --git a/fonts/truetype/DEPENDS b/fonts/truetype/DEPENDS
index 50b28f6..1a92034 100644
--- a/fonts/truetype/DEPENDS
+++ b/fonts/truetype/DEPENDS
@@ -1 +1,3 @@
depends cabextract
+depends mkfontdir
+depends fontconfig
More information about the Lunar-commits
mailing list