1 # Maintainer: Tom Kazimiers <tom@voodoo-arts.net>
2 pkgname=r-cran-quadprog
5 pkgdesc="Functions to solve Quadratic Programming Problems from within the R project environment."
6 url="http://cran.r-project.org/web/packages/quadprog"
9 makedepends=('gcc' 'gcc-fortran' 'r')
12 source=(http://cran.r-project.org/src/contrib/quadprog_1.5-4.tar.gz)
14 mkdir -p ${pkgdir}/usr/lib/R/library
16 R CMD INSTALL quadprog -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}/quadprog/${lic} ]; then
20 install -Dm644 ${srcdir}/quadprog/${lic} ${pkgdir}/usr/share/licenses/r-cran-quadprog/${lic}
24 md5sums=('34dd39e1131d4b5f8d458deeaf485335')