updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / r-cran-erm / PKGBUILD
blobc910fba327cbe48aee98bbf1b21600733f4a17cc
1 # Maintainer: Joris Wachter <joriswachter@gmail.com>
3 pkgname=r-cran-erm
4 pkgver=0.14
5 pkgrel=0
6 pkgdesc="Extended Rasch Modeling: Functions for estimating Rasch Model parameters and ICC plotting"
7 url="http://cran.r-project.org/web/packages/eRm/index.html"
8 license=('GPL version 2 or later')
9 arch=('i686' 'x86_64')
10 makedepends=('gcc' 'gcc-fortran')
11 depends=('r' 'r-cran-rasch-sampler')
12 optdepends=()
13 source=(http://cran.r-project.org/src/contrib/eRm_0.14-0.tar.gz)
14 md5sums=('5f280a6616710cc08c731a86a379c3dd')
16 build() {
17     mkdir -p ${pkgdir}/usr/lib/R/library
18     cd ${srcdir}
19     R CMD INSTALL eRm -l ${pkgdir}/usr/lib/R/library
20     rm -f ${pkgdir}/usr/lib/R/library/R.css
21     for lic in "LICENSE" "LICENCE" "COPYING"; do
22         if [ -f ${srcdir}/eRm/${lic} ]; then
23             install -Dm644 ${srcdir}/eRm/${lic} ${pkgdir}/usr/share/licenses/r-cran-eRm/${lic}
24         fi
25     done