blob: 5776065a16a7e8fac5d6a949850653f1556174cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=CCP
_pkgver=1.2
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=9
pkgdesc="Significance Tests for Canonical Correlation Analysis (CCA)"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('cd2ff46d0432e37b1cf3909f410343eb')
b2sums=('a4d4ae85b6f08890324ff84d28670c8abf1b46969a0ebad9141aec5c7a8c2dcf56b80195d4edfe067faac9af52a92d90b2addc9011cc2568be2d09654263d36b')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|