blob: b1191b1eb3c7b0a45755a59e3d66ee17f3c1897f (
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
28
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=fftw
_pkgver=1.0-9
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Fast FFT and DCT Based on the FFTW Library"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
fftw
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('510589e319a50c91d4ee0386b7ad74bc')
b2sums=('7a761f1b50d44dfaf2c1ad7dc1847718524ca4797cceba3d240497500d06da456665007aebd8bf1ac423a54ba896f2c7a6512a324ef7a9d83a937176e27f9ede')
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"
}
|