blob: 0cef1e593557f9cad8e27efdaeaf7d32035c04e8 (
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=rtf
_pkgver=0.4-14.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Rich Text Format (RTF) Output"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r-r.methodss3
r-r.oo
)
optdepends=(
r-ggplot2
r-gsubfn
r-xtable
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('b3afa99fabe3b95a92937812db98acbc')
b2sums=('7a4a1c15f4744ca88d3781ae064a2bd7e63cccb534cac955e5485ba551d0b72d2112037d67d56f10b82acb61048cc1bb827e3a346859d29b127a4b3da848fa4d')
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"
}
|