--- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/ghostscript.txz/gnu_gs_fonts_other/PlamoBuild.gnu_gs_fonts_other-6.0 2018-06-21 09:42:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/gs-fonts/gnu-gs-fonts-other-6.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` +pkgbase=gnu_gs_fonts_other +vers=6.0 +arch=noarch build=P1 -src=$pkgbase-$vers +src=fonts patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +65,25 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/ghostscript/fonts + cp -p * $P/usr/share/ghostscript/fonts + chown root.root $P/usr/share/ghostscript/fonts/* + install -d $P/usr/share/fonts + ln -s ../ghostscript/fonts $P/usr/share/fonts/ghostscript touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + install -d $docdir/$src setup_docdir + touch -t `date '+%m%d0900'` $docdir/$src 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/usr/share/fonts + tar cvpf $pkg.tar -C $P usr/share/ghostscript + tar rvpf $pkg.tar -C $P usr/share/fonts/ghostscript tar rvpf $pkg.tar -C $P usr/share/doc/$src + tar rvpf $pkg.tar -C $P install/doinst.sh touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz cleanup