blob: f7f1c795abd26e93f80f079cd1c63b85bcae9ae4 (
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: frichtlm <frichtlm@gmail.com>
_cranname=hms
_cranver=0.5.2
pkgname=r-$_cranname
pkgver=${_cranver}
pkgrel=1
pkgdesc="Implements an S3 class for storing and formatting time-of-day values, based on the 'difftime' class."
url="https://cran.r-project.org/package=hms"
arch=('i686' 'x86_64')
license=('GPL-3')
depends=('r' 'r-pkgconfig' 'r-rlang' 'r-vctrs>=0.2.0')
optdepends=('r-crayon' 'r-lubridate' 'r-pillar' 'r-testthat')
source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
#source=("http://cran.r-project.org/src/contrib/Archive/${_cranname}/${_cranname}_${_cranver}.tar.gz") # uncomment this if 404 error
md5sums=('7ed26640a8df6aa3f14c1722723c2156')
build() {
cd ${srcdir}
R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l $srcdir
}
package(){
cd "${srcdir}"
install -dm0755 "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "$_cranname" "$pkgdir/usr/lib/R/library"
}
|