1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=r-cran-sweavelistingutils
5 pkgdesc="Utilities for Sweave together with TeX listings package"
6 url="http://cran.r-project.org/web/packages/SweaveListingUtils/index.html"
9 makedepends=('gcc' 'gcc-fortran')
10 depends=('r' 'r-cran-startupmsg')
11 optdepends=('r-cran-distr')
12 source=(http://cran.r-project.org/src/contrib/SweaveListingUtils_0.5.tar.gz)
14 mkdir -p ${pkgdir}/usr/lib/R/library
16 R CMD INSTALL SweaveListingUtils -l ${pkgdir}/usr/lib/R/library
17 rm -f ${pkgdir}/usr/lib/R/library/R.css
18 for lic in "LICENSE" "LICENCE" "COPYING"; do
19 if [ -f ${srcdir}/SweaveListingUtils/${lic} ]; then
20 install -Dm644 ${srcdir}/SweaveListingUtils/${lic} ${pkgdir}/usr/share/licenses/r-cran-sweavelistingutils/${lic}
24 md5sums=('ca294f8fdda72ea50dedfecbebfa5219')