Date: Saturday, June 30, 2012 @ 03:07:40 Author: ronald Revision: 162769
upgpkg: r 2.15.1-2 move texlive-bin to optdepends Modified: r/trunk/PKGBUILD r/trunk/r.install -----------+ PKGBUILD | 6 +++--- r.install | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-06-29 23:57:31 UTC (rev 162768) +++ PKGBUILD 2012-06-30 07:07:40 UTC (rev 162769) @@ -5,16 +5,16 @@ pkgname=r pkgver=2.15.1 -pkgrel=1 +pkgrel=2 pkgdesc="Language and environment for statistical computing and graphics" arch=('i686' 'x86_64') license=('GPL') url=('http://www.r-project.org/') depends=('blas' 'lapack' 'bzip2' 'libpng' 'libjpeg' 'libtiff' 'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-libs' - 'libxt' 'libxmu' 'pango' 'xz' 'texlive-bin' 'desktop-file-utils') + 'libxt' 'libxmu' 'pango' 'xz' 'desktop-file-utils') makedepends=('openjdk6' 'gcc-fortran' 'tk') -optdepends=('tk: tcl/tk interface') +optdepends=('tk: tcl/tk interface' 'texlive-bin: latex sty files') backup=('etc/R/Makeconf' 'etc/R/Renviron' 'etc/R/ldpaths' 'etc/R/repositories') options=('!makeflags' '!emptydirs') source=("http://cran.r-project.org/src/base/R-2/R-${pkgver}.tar.gz" Modified: r.install =================================================================== --- r.install 2012-06-29 23:57:31 UTC (rev 162768) +++ r.install 2012-06-30 07:07:40 UTC (rev 162769) @@ -1,7 +1,9 @@ post_install() { update-desktop-database -q - echo ">>> updating the filename database for texlive..." - mktexlsr --quiet usr/share/texmf + if [[ -x /usr/bin/mktexlsr ]]; then + echo ">>> updating the filename database for texlive..." + mktexlsr --quiet usr/share/texmf + fi } post_upgrade() {