Initial release

This commit is contained in:
Drobot Viktor 2019-05-14 18:39:23 +03:00
commit c8eb469780
2 changed files with 48 additions and 0 deletions

20
.SRCINFO Normal file
View file

@ -0,0 +1,20 @@
pkgbase = r-later
pkgdesc = Utilities for Delaying Function Execution
pkgver = 0.8.0
pkgrel = 1
url = https://cran.r-project.org/package=later
arch = i686
arch = x86_64
license = GPL3
depends = r
depends = r-rcpp
depends = r-rlang
depends = r-bh
optdepends = r-knitr
optdepends = r-rmarkdown
optdepends = r-testthat
source = http://cran.r-project.org/src/contrib/later_0.8.0.tar.gz
md5sums = 71feec14ef4f2297a6289458e10d0544
pkgname = r-later

28
PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
_cranname=later
_cranver=0.8.0
pkgname=r-${_cranname}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Utilities for Delaying Function Execution"
arch=('i686' 'x86_64')
url="https://cran.r-project.org/package=${_cranname}"
license=('GPL3')
depends=('r' 'r-rcpp' 'r-rlang' 'r-bh')
optdepends=('r-knitr' 'r-rmarkdown' 'r-testthat')
source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
md5sums=('71feec14ef4f2297a6289458e10d0544')
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"
}