mirror of
https://github.com/archlinux/aur.git
synced 2026-03-04 13:25:26 +01:00
Initial release
This commit is contained in:
commit
c8eb469780
2 changed files with 48 additions and 0 deletions
20
.SRCINFO
Normal file
20
.SRCINFO
Normal 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
28
PKGBUILD
Normal 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"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue