blob: 83441e8cf9cf2732f71fca35dbe97db4d468bc49 (
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
29
30
31
32
33
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=MBA
_pkgver=0.1-2
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Multilevel B-Spline Approximation"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
)
makedepends=(
r-bh
)
optdepends=(
r-sp
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('8bcf59146cbfc60f885caadfd5675a17')
b2sums=('a9a43335acacd4e90da6044333a35fed1757f381323d2e54e24e6d8a29bab5f0eef3e9ec8a5860e840ed95cc17d8a3e641e4d36703ca3ae31e2d80a27c90f567')
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"
}
|