mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
31 lines
793 B
Bash
31 lines
793 B
Bash
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
|
|
|
_pkgname=assertive.datetimes
|
|
_pkgver=0.0-3
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=0.0.3
|
|
pkgrel=9
|
|
pkgdesc='Assertions to Check Properties of Dates and Times'
|
|
arch=('any')
|
|
url="https://cran.r-project.org/package=${_pkgname}"
|
|
license=('GPL')
|
|
depends=(
|
|
r
|
|
r-assertive.base
|
|
r-assertive.types
|
|
)
|
|
optdepends=(
|
|
r-testthat
|
|
)
|
|
source=("https://cran.r-project.org/src/contrib/Archive/${_pkgname}/${_pkgname}_${_pkgver}.tar.gz")
|
|
sha256sums=('014e2162f5a8d95138ed8330f7477e71c908a29341697c09a1b7198b7e012d94')
|
|
|
|
build() {
|
|
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
|
}
|
|
|
|
package() {
|
|
install -dm0755 "${pkgdir}/usr/lib/R/library"
|
|
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
|
|
}
|
|
# vim:set ts=2 sw=2 et:
|