--- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/TTfont.txz/VLGothic/PlamoBuild.VLGothic-20130510 2019-08-16 13:34:18.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://ymu.dl.osdn.jp/vlgothic/58803/VLGothic-20130510.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=VLGothic +vers=20130510 +arch=noarch +build=P2 +src=$pkgbase patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README_E.mplus LICENSE.en LICENSE Changelog README.sazanami + LICENSE_E.mplus README_J.mplus README LICENSE_J.mplus" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +66,70 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/fonts/TrueType + install -m 644 *.ttf $P/usr/share/fonts/TrueType + install -d $P/usr/share/fontconfig/conf.avail + cat <<- "EOF" > $P/usr/share/fontconfig/conf.avail/61-vlgothic.conf + + + + + + VL PGothic + + sans-serif + + + + VL Gothic + + monospace + + + + + + ja + + + sans-serif + + + VL PGothic + + + + + ja + + + monospace + + + VL Gothic + + + + + + VL PGothic + + + false + + + + + VL Gothic + + + false + + + + EOF + install -d $P/etc/fonts/conf.d + ln -s /usr/share/fontconfig/conf.avail/61-vlgothic.conf $P/etc/fonts/conf.d touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +137,21 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` - tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + prune_symlink $P/etc/fonts/conf.d + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + rm /usr/share/fonts/TrueType/fonts.scale + mkfontscale /usr/share/fonts/TrueType + fc-cache /usr/share/fonts/TrueType + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/TrueType | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/fontconfig/conf.avail | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/fonts/conf.d | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src + tar rvpf $pkg.tar -C $P install/doinst.sh TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup