Date: Saturday, November 19, 2016 @ 18:54:45 Author: remy Revision: 281599
archrelease: copy trunk to extra-any Added: texlive-science/repos/extra-any/PKGBUILD (from rev 281598, texlive-science/trunk/PKGBUILD) texlive-science/repos/extra-any/texlive-science.fmts (from rev 281598, texlive-science/trunk/texlive-science.fmts) texlive-science/repos/extra-any/texlive-science.maps (from rev 281598, texlive-science/trunk/texlive-science.maps) Deleted: texlive-science/repos/extra-any/PKGBUILD texlive-science/repos/extra-any/texlive-science.maps ----------------------+ PKGBUILD | 104 +++++++++++++++++++++++++------------------------ texlive-science.fmts | 1 texlive-science.maps | 4 + 3 files changed, 58 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-11-19 18:54:36 UTC (rev 281598) +++ PKGBUILD 2016-11-19 18:54:45 UTC (rev 281599) @@ -1,50 +0,0 @@ -# $Id: PKGBUILD$ -# Maintainer: Rémy Oudompheng <r...@archlinux.org> - -pkgname=texlive-science -pkgver=2016.41327 -_revnr=${pkgver#2016.} -pkgrel=2 -pkgdesc="TeX Live - Typesetting for natural and computer sciences" -license=('GPL') -arch=(any) -depends=('texlive-core') -optdepends=('python2-pygments: for pygmentex') -groups=('texlive-most') -url='http://tug.org/texlive/' -source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps") -options=('!emptydirs') -md5sums=('2757b93bd83971de390536194c1d7b5d' - '72206bb981d3d491df018e0e13334be5') - -build() { - cd "$srcdir" - for p in *.tar.xz; do - bsdtar -xf $p - done - rm -rf {tlpkg,doc,source} || true -} - -package() { - cd "$srcdir" - 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 - install -m755 -d $pkgdir/usr/bin - ln -s /usr/share/texmf-dist/scripts/pygmentex/pygmentex.py $pkgdir/usr/bin/pygmentex - ln -s /usr/share/texmf-dist/scripts/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda -} Copied: texlive-science/repos/extra-any/PKGBUILD (from rev 281598, texlive-science/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-11-19 18:54:45 UTC (rev 281599) @@ -0,0 +1,54 @@ +# $Id: PKGBUILD$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> + +pkgname=texlive-science +pkgver=2016.42453 +_revnr=${pkgver#2016.} +pkgrel=1 +pkgdesc="TeX Live - Typesetting for mathematics, natural and computer sciences" +license=('GPL') +arch=(any) +depends=('texlive-core') +optdepends=('python2-pygments: for pygmentex') +groups=('texlive-most') +url='http://tug.org/texlive/' +source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" + "$pkgname.maps" + "$pkgname.fmts") +options=('!emptydirs') +md5sums=('7d37b05503b4f18c7c1861c6e1232bc6' + '752529861a7b0a133f52a92866d0c1a2' + '7573956c7abc3de68fbacb58805f690c') + +build() { + cd "$srcdir" + for p in *.tar.xz; do + bsdtar -xf $p + done + rm -rf {tlpkg,doc,source} || true +} + +package() { + cd "$srcdir" + 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 -m644 $pkgname.fmts $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 + install -m755 -d $pkgdir/usr/bin + ln -s /usr/share/texmf-dist/scripts/pygmentex/pygmentex.py $pkgdir/usr/bin/pygmentex + ln -s /usr/share/texmf-dist/scripts/ulqda/ulqda.pl $pkgdir/usr/bin/ulqda +} Copied: texlive-science/repos/extra-any/texlive-science.fmts (from rev 281598, texlive-science/trunk/texlive-science.fmts) =================================================================== --- texlive-science.fmts (rev 0) +++ texlive-science.fmts 2016-11-19 18:54:45 UTC (rev 281599) @@ -0,0 +1 @@ +amstex pdftex - -translate-file=cp227.tcx *amstex.ini Deleted: texlive-science.maps =================================================================== --- texlive-science.maps 2016-11-19 18:54:36 UTC (rev 281598) +++ texlive-science.maps 2016-11-19 18:54:45 UTC (rev 281599) @@ -1 +0,0 @@ -Map chemarrow.map Copied: texlive-science/repos/extra-any/texlive-science.maps (from rev 281598, texlive-science/trunk/texlive-science.maps) =================================================================== --- texlive-science.maps (rev 0) +++ texlive-science.maps 2016-11-19 18:54:45 UTC (rev 281599) @@ -0,0 +1,3 @@ +Map chemarrow.map +MixedMap stmaryrd.map +MixedMap yhmath.map