Revision | bb685be8906c966b17f5245ccb1dc75ec42b74f3 (tree) |
---|---|
Time | 2012-03-04 11:37:57 |
Author | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Added IPAfont.
@@ -0,0 +1,34 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +VER=00303 | |
4 | +TARGET=IPAfont$VER | |
5 | +TARGETBALL=$TARGET.zip | |
6 | +TARGETDIR=$TARGET | |
7 | + | |
8 | +. ./_blfsset.sh | |
9 | + | |
10 | +cd $SRC | |
11 | + | |
12 | +echo $TARGET | |
13 | + | |
14 | +echo \ \ Removing old directory... | |
15 | +rm -fr $TARGETDIR | |
16 | + | |
17 | +echo \ \ Extracting... | |
18 | +unzip $DLD/$TARGETBALL | |
19 | + | |
20 | +cd $TARGETDIR | |
21 | + | |
22 | +paco -p $TARGET "install -v -d -m755 /usr/share/fonts/IPA" | |
23 | + | |
24 | +echo \ \ Installing... | |
25 | +paco -p+ $TARGET "install -v -m644 *.ttf /usr/share/fonts/IPA" \ | |
26 | + 1> $LOG/$TARGET.1_install.log 2>&1 || exit 1 | |
27 | + | |
28 | +fc-cache -v /usr/share/fonts/IPA | |
29 | + | |
30 | +echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none | |
31 | + | |
32 | +echo \ \ Removing directory... | |
33 | +cd .. && rm -fr $TARGETDIR | |
34 | + |