blob: 3c805744bbe69aee1d66283796351d2fe401572c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
pkgname=r-optparse
pkgver=1.7.3
pkgrel=1
pkgdesc="R command line parser inspired by Python's 'optparse'"
arch=('any')
url="https://cran.r-project.org/package=optparse"
license=('GPL')
depends=('r-getopt>=1.20.2')
optdepends=('r-knitr>=2.15.19' 'r-stringr' 'r-testthat')
source=("https://cran.r-project.org/src/contrib/optparse_$pkgver.tar.gz")
md5sums=('48866cfb596f7dafc503c09954ab9f46')
build(){
R CMD INSTALL optparse_"$pkgver".tar.gz -l "$srcdir"
}
package() {
install -dm0755 "$pkgdir"/usr/lib/R/library
cp -a --no-preserve=ownership optparse "$pkgdir"/usr/lib/R/library
}
|