Date: Tuesday, September 1, 2015 @ 12:30:04 Author: remy Revision: 245138
upgpkg: texlive-pictures 2015.37532-1 Update to TeXLive 2015 Modified: texlive-pictures/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-09-01 10:29:42 UTC (rev 245137) +++ PKGBUILD 2015-09-01 10:30:04 UTC (rev 245138) @@ -2,8 +2,8 @@ # Maintainer: Rémy Oudompheng <[email protected]> pkgname=texlive-pictures -pkgver=2014.36605 -_revnr=${pkgver#2014.} +pkgver=2015.37532 +_revnr=${pkgver#2015.} pkgrel=1 pkgdesc="TeX Live - Packages for drawings graphics" license=('GPL') @@ -14,7 +14,7 @@ source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps") options=('!emptydirs') install=texlive.install -md5sums=('4387af8f5fd8872ea37f0bf3fe826ec5' +md5sums=('4a4e11d649f1a942509c20efff587f1c' '7d08cb8ade87687bd8676f8e8ba20697') build() { @@ -44,11 +44,20 @@ 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/cachepic/cachepic.tlu $pkgdir/usr/bin/cachepic - ln -s /usr/share/texmf-dist/scripts/epspdf/epspdftk.tcl $pkgdir/usr/bin/epspdftk - ln -s /usr/share/texmf-dist/scripts/epspdf/epspdf.tlu $pkgdir/usr/bin/epspdf - ln -s /usr/share/texmf-dist/scripts/fig4latex/fig4latex $pkgdir/usr/bin/fig4latex - ln -s /usr/share/texmf-dist/scripts/mathspic/mathspic.pl $pkgdir/usr/bin/mathspic - ln -s /usr/share/texmf-dist/scripts/mkpic/mkpic $pkgdir/usr/bin/mkpic + + _linked_scripts=" +cachepic/cachepic.tlu +epspdf/epspdftk.tcl +epspdf/epspdf.tlu +fig4latex/fig4latex +getmap/getmapdl.lua +mathspic/mathspic.pl +mkpic/mkpic +" + install -m755 -d $pkgdir/usr/bin + for _script in ${_linked_scripts}; do + _scriptbase=$(basename $_script) + _scriptbase=${_scriptbase%.*} + ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase} + done }
