diff options
Diffstat (limited to 'libre/texlive-core-libre/PKGBUILD')
-rwxr-xr-x[-rw-r--r--] | libre/texlive-core-libre/PKGBUILD | 68 |
1 files changed, 32 insertions, 36 deletions
diff --git a/libre/texlive-core-libre/PKGBUILD b/libre/texlive-core-libre/PKGBUILD index be42680ad..41021cf24 100644..100755 --- a/libre/texlive-core-libre/PKGBUILD +++ b/libre/texlive-core-libre/PKGBUILD @@ -1,11 +1,12 @@ -# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu> # Maintainer: Rémy Oudompheng <remy@archlinux.org> +# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu> +# Contributor (Parabola): André Silva <emulatorman@lavabit.com> pkgname=texlive-core-libre _pkgname=texlive-core -pkgver=2011.24722 -_revnr=${pkgver#2011.} -pkgrel=1 +pkgver=2012.26892 +_revnr=${pkgver#2012.} +pkgrel=2 pkgdesc="TeX Live core distribution" license=('GPL') arch=(any) @@ -21,38 +22,30 @@ optdepends=( ) groups=('texlive-most') conflicts=('tetex' 'texlive-latex3' 'texlive-core') -provides=('tetex' 'texlive-latex3' 'texlive-core') +provides=('tetex' 'texlive-latex3' "texlive-core=$pkgver") replaces=('tetex' 'texlive-latex3' 'texlive-core') url='http://tug.org/texlive/' -source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.xz" - "${_pkgname}.maps") +source=("ftp://ftp.archlinux.org/other/texlive/$_pkgname-$pkgver-src.zip" + "$_pkgname.maps") options=(!strip) install=texlive.install #backup=(etc/texmf/tex/context/config/cont-usr.tex) -md5sums=('3cf22c52c9b2719d23ad1479e0ae3b3a' - '490872c9981c40d20721de1e2fccccb8') - -mksource() { - [ -f texlive-core-$pkgver-src.zip ] || wget ftp://ftp.archlinux.org/other/texlive/texlive-core-$pkgver-src.zip - mkdir ${pkgname}-${pkgver} - pushd ${pkgname}-${pkgver} - bsdtar xf ../texlive-core-$pkgver-src.zip - # remove nonfree packages - # MeX licensed packages. - rm {cc-pl,cs,ec,mex,pl}.tar.xz - # Public domain, will be relicensed. - rm context-{account,algorithmic,fixme,games,letter,ruby}.tar.xz - # No specific free license. - rm euro-ce.tar.xz - # Remove them from package list. - sed -ri '/^(cc-pl|cs|ec|mex|pl|context-(account|algorithmic|fixme|games|letter|ruby)|euro-ce) /d' CONTENTS - popd - tar cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver} - rm -rf ${pkgname}-${pkgver} -} +md5sums=('c913b3c01bdcf81da80e4833cd4cc691' + '82c03f7226e1df4440f30c89c05ee653') build() { - cd "$srcdir/${pkgname}-${pkgver}" + cd "$srcdir" + + # remove nonfree packages + # MeX licensed packages. + rm {cc-pl,cs,ec,mex,pl}.tar.xz + # Public domain, will be relicensed. + rm context-{account,algorithmic,fixme,games,letter,ruby}.tar.xz + # No specific free license. + rm euro-ce.tar.xz + # Remove them from package list. + sed -ri '/^(cc-pl|cs|ec|mex|pl|context-(account|algorithmic|fixme|games|letter|ruby)|euro-ce) /d' CONTENTS + echo -n " --> extracting all packages... " for p in *.tar.xz; do bsdtar -xf $p @@ -62,11 +55,10 @@ build() { } package() { - cd "$srcdir/${pkgname}-${pkgver}" 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 ${srcdir}/${_pkgname}.maps $pkgdir/var/lib/texmf/arch/installedpkgs/ + 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 @@ -87,8 +79,13 @@ package() { # $pkgdir/etc/texmf/tex/context/config/cont-usr.tex # remove obsolete stuff (we don't provide the omega and aleph binaries anyway) - #rm -rf $pkgdir/usr/share/texmf-dist/omega rm -f $pkgdir/usr/share/texmf-dist/tex/plain/config/{omega,aleph}.ini + #sed -i '/cherokee\.map/d; /oinuit\.map/d; /omega\.map/d' \ + # "${pkgdir}/usr/share/texmf-dist/web2c/updmap.cfg" + + # remove upstream updmap.cfg: it contains too many maps. + rm "${pkgdir}/usr/share/texmf-dist/web2c/updmap.cfg" + # more cleanup rm -rf $pkgdir/usr/share/texmf-dist/scripts/context/stubs/mswin/ @@ -100,6 +97,7 @@ accfonts/vpl2vpl bundledoc/arlatex bundledoc/bundledoc context/perl/mptopdf.pl +checkcites/checkcites.lua ctanify/ctanify ctanupload/ctanupload.pl de-macro/de-macro @@ -108,17 +106,14 @@ epstopdf/epstopdf.pl findhyph/findhyph fontools/afm2afm fontools/autoinst -fontools/cmap2enc -fontools/font2afm fontools/ot2kpx -fontools/pfm2kpx -fontools/showglyphs fragmaster/fragmaster.pl installfont/installfont-tl latex2man/latex2man latexdiff/latexdiff-vc.pl latexdiff/latexdiff.pl latexdiff/latexrevise.pl +latexfileversion/latexfileversion latexmk/latexmk.pl luaotfload/mkluatexfontdb.lua match_parens/match_parens @@ -148,6 +143,7 @@ texdiff/texdiff texdirflatten/texdirflatten texloganalyser/texloganalyser thumbpdf/thumbpdf.pl +typeoutfileinfo/typeoutfileinfo.sh texliveonfly/texliveonfly.py " install -m755 -d $pkgdir/usr/bin |