blob: 2dd9ea4aa5519680038a0a407730f52d6f3b8017 (
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=scatterplot3d
_pkgver=0.3-44
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=3
pkgdesc="3D Scatter Plot"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('0acaab2e9eba4ece27e1444f769d006b')
b2sums=('b5b09fecaa0a42738b83574a6e9941c11d03a0051f07c4c20ae89b1a4f54bf18d585364a03d8fe8f5cb3cb686f5850272b7a2366bf325c9beb84595bb7189a46')
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"
}
|