Date: Thursday, August 14, 2014 @ 01:26:55 Author: remy Revision: 219704
upgpkg: texlive-langcjk 2014.0-1 Now a metapackage above langchinese, langjapanese and langkorean collections defined upstream (langcjk package was over 400MB once uncompressed). Modified: texlive-langcjk/trunk/PKGBUILD Deleted: texlive-langcjk/trunk/texlive-langcjk.maps texlive-langcjk/trunk/texlive.install ----------------------+ PKGBUILD | 60 ++++--------------------------------------------- texlive-langcjk.maps | 20 ---------------- texlive.install | 52 ------------------------------------------ 3 files changed, 5 insertions(+), 127 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-08-13 23:25:29 UTC (rev 219703) +++ PKGBUILD 2014-08-13 23:26:55 UTC (rev 219704) @@ -1,63 +1,13 @@ +# $Id$ # Maintainer: Firmicus <firmicus āt gmx dōt net> # Maintainer: Rémy Oudompheng <[email protected]> pkgname=texlive-langcjk -pkgver=2013.32895 -_revnr=${pkgver#2013.} +pkgver=2014.0 pkgrel=1 -pkgdesc="TeX Live - CJK (Chinese, Japanese, Korean) macros and fonts" -license=('GPL') arch=(any) -depends=('texlive-core') -groups=('texlive-lang') url='http://tug.org/texlive/' -source=()#"ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps") -options=('!emptydirs') -options=(!strip) -install=texlive.install -md5sums=('c0887ef08f58e09cf9962a08ed5e8202' - 'ae2c0eea6b2cf1f3ca8492625815d9bb') +license=('GPL') +pkgdesc="TeX Live - CJK (Chinese, Japanese, Korean) metapackage" +depends=('texlive-langchinese' 'texlive-langjapanese' 'texlive-langkorean') -build() { - cd "$srcdir" - for p in *.tar.xz; do - bsdtar -xf $p - done - rm -rf {tlpkg,doc,source} || true -} - -package() { - install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs - sed -i '/^#/d' CONTENTS - install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs - install -m644 $pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/ - install -m755 -d $pkgdir/usr/share - wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true - for dir in $wanteddirs; do - find $dir -type d -exec install -d -m755 $pkgdir/usr/share/texmf-dist/'{}' \; - find $dir -type f -exec install -m644 '{}' $pkgdir/usr/share/texmf-dist/'{}' \; - done - if [[ -d texmf-dist ]]; then - find texmf-dist -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \; - find texmf-dist -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \; - fi - if [[ -d $pkgdir/usr/share/texmf-dist/scripts ]]; then - find $pkgdir/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \; - fi - - # scripts links - _linked_scripts=" -convbkmk/convbkmk.rb -ptex2pdf/ptex2pdf.lua -jfontmaps/kanji-config-updmap.pl -jfontmaps/kanji-config-updmap-sys.sh -jfontmaps/kanji-fontmap-creator.pl -" - install -m755 -d $pkgdir/usr/bin - for _script in ${_linked_scripts}; do - _scriptbase=$(basename $_script) - _scriptbase=${_scriptbase%.*} - [[ -f ${pkgdir}/usr/share/texmf-dist/scripts/${_script} ]] && - ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase} - done -} Deleted: texlive-langcjk.maps =================================================================== --- texlive-langcjk.maps 2014-08-13 23:25:29 UTC (rev 219703) +++ texlive-langcjk.maps 2014-08-13 23:26:55 UTC (rev 219704) @@ -1,20 +0,0 @@ -KanjiMap morisawa.map -KanjiMap otf-@[email protected] -KanjiMap otf-cktx.map -KanjiMap otf-up-@[email protected] -KanjiMap ptex-@kanjiEmbed@@[email protected] -KanjiMap uptex-@kanjiEmbed@@[email protected] -Map bkaiu.map -Map bsmiu.map -Map dgj.map -Map dmj.map -Map garuda-c90.map -Map gbsnu.map -Map gkaiu.map -Map mc2j.map -Map mcj.map -Map mr2j.map -Map mrj.map -Map nanumfonts.map -Map norasi-c90.map -Map umj.map Deleted: texlive.install =================================================================== --- texlive.install 2014-08-13 23:25:29 UTC (rev 219703) +++ texlive.install 2014-08-13 23:26:55 UTC (rev 219704) @@ -1,52 +0,0 @@ -PKGNAME="texlive-langcjk" -UPDMAP="etc/texmf/web2c/updmap.cfg" -UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg" -SYNCWITHTREES='' - -MAPFILE="var/lib/texmf/arch/installedpkgs/$PKGNAME.maps" - -post_install() { - TMPFILE=`mktemp` - echo ">>> texlive: saving updmap.cfg as $TMPFILE..." - cp "$UPDMAP" "$TMPFILE" - echo ">>> texlive: regenerating updmap.cfg (custom additions should go" - echo " into /etc/texmf/web2c/updmap-local.cfg" - cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP - cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP - [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP - echo ">>> texlive: updating the filename database..." - usr/bin/mktexlsr - echo ">>> texlive: updating the fontmap files with updmap..." - usr/bin/updmap-sys --quiet --nohash - echo " done." -} - -post_upgrade() { - TMPFILE=`mktemp` - echo ">>> texlive: saving updmap.cfg as $TMPFILE..." - cp "$UPDMAP" "$TMPFILE" - echo ">>> texlive: regenerating updmap.cfg (custom additions should go" - echo " into /etc/texmf/web2c/updmap-local.cfg" - cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP - cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP - [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP - echo ">>> texlive: updating the filename database..." - usr/bin/mktexlsr - echo ">>> texlive: updating the fontmap files with updmap..." - usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES - echo " done." -} - -pre_remove() { -for m in `cut -d' ' -f2 $MAPFILE`; do - sed -i "/\s$m/d" $UPDMAP ; -done -} - -post_remove() { - echo ">>> texlive: updating the filename database..." - usr/bin/mktexlsr - echo ">>> texlive: updating the fontmap files with updmap..." - usr/bin/updmap-sys --quiet --nohash - echo " done." -}
