From 79c0846bed0c90167853e2327c0d51a95d903342 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 15 Sep 2015 16:19:53 -0300 Subject: texlive-core-2015.37554-1.parabola1: updating version --- libre/texlive-core/PKGBUILD | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) (limited to 'libre/texlive-core/PKGBUILD') diff --git a/libre/texlive-core/PKGBUILD b/libre/texlive-core/PKGBUILD index c997c2db9..ea15b7804 100644 --- a/libre/texlive-core/PKGBUILD +++ b/libre/texlive-core/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 235485 2015-04-06 00:21:47Z remy $ +# $Id: PKGBUILD 245172 2015-09-01 10:40:16Z remy $ # Maintainer (Arch): Rémy Oudompheng # Maintainer: Michał Masłowski # Contributor: André Silva _pkgname=texlive-core-libre pkgname=texlive-core -pkgver=2014.36709 -_revnr=${pkgver#2014.} +pkgver=2015.37554 +_revnr=${pkgver#2015.} pkgrel=1.parabola1 pkgdesc="TeX Live core distribution, without nonfree add-on packages (Parabola rebranded)" license=('GPL') @@ -47,8 +47,8 @@ backup=(etc/texmf/web2c/texmf.cnf \ etc/texmf/web2c/fmtutil.cnf \ etc/texmf/web2c/mktex.cnf \ etc/texmf/xdvi/XDvi) -mkmd5sums=('c02299998a0e7a26a7e9fff1c16d2f97') -md5sums=('c9e1624850a79a8d5e9acfcc1cae697b' +mkmd5sums=('0342ec0740cc11417403efde9c95883d') +md5sums=('bb781e0187906d6ce04c108717e4a76f' '54a34f8ddbeccec2427e4d5763349f9b' '00d2e495f34c4e055b70c0ba13fcd891' '16ad4dc53deb00029baef1b01ba1d984' @@ -60,26 +60,24 @@ mksource() { bsdtar xfv ../$pkgname-$pkgver-src.zip # remove nonfree packages - # MeX licensed packages. + # MeX licensed packages rm -v {cc-pl,cs,ec,mex,pl}.tar.xz - # Public domain, will be relicensed. + # public domain, will be relicensed rm -v context-{account,algorithmic,fixme,games,letter,ruby}.tar.xz - # No specific free license. + # no specific free license rm -v euro-ce.tar.xz - # Remove their references from package list. - sed -ri '/^(cc-pl|cs|ec|mex|pl|context-(account|algorithmic|fixme|games|letter|ruby)|euro-ce) /d' CONTENTS popd } -build() { +prepare() { cd $srcdir/$pkgname-$pkgver echo -n " --> extracting all packages... " - for p in *.tar.xz; do + for p in *.tar.xz; do bsdtar -xf $p done echo "done" - rm -rf source doc + rm -rf {doc,source} || true # remove nonfree packages references from updmap.cfg sed -i '/ccpl.map/d' texmf-dist/web2c/updmap.cfg @@ -100,11 +98,13 @@ build() { sed -i '/csplain/d' texmf-dist/web2c/fmtutil.cnf sed -i '/from mex/d' texmf-dist/web2c/fmtutil.cnf sed -i '/mexconf.tex/d' texmf-dist/web2c/fmtutil.cnf + + # remove nonfree packages references from package list + sed -ri '/^(cc-pl|cs|ec|mex|pl|context-(account|algorithmic|fixme|games|letter|ruby)|euro-ce) /d' CONTENTS } package() { cd $srcdir/$pkgname-$pkgver - # Install packages. 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 @@ -218,14 +218,13 @@ bundledoc/bundledoc checkcites/checkcites.lua chktex/chkweb.sh chktex/deweb.pl +cjk-gs-integrate/cjk-gs-integrate.pl context/perl/mptopdf.pl context/stubs/unix/context context/stubs/unix/contextjit -context/stubs/unix/ctxtools context/stubs/unix/luatools context/stubs/unix/mtxrun context/stubs/unix/mtxrunjit -context/stubs/unix/pstopdf context/stubs/unix/texexec context/stubs/unix/texmfstart ctanify/ctanify @@ -292,9 +291,9 @@ texlive/allcm.sh texlive/allneeded.sh texlive/dvi2fax.sh texlive/dvired.sh -texlive/e2pall.sh +texlive/e2pall.pl texlive/fmtutil-sys.sh -texlive/fmtutil.sh +texlive/fmtutil.pl texlive/fontinst.sh texlive/kpsetool.sh texlive/kpsewhere.sh @@ -318,8 +317,7 @@ xindy/xindy.pl 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} + ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase} done ln -s /usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh ${pkgdir}/usr/bin/listings-ext.sh -- cgit v1.2.3