mirror of
https://github.com/archlinux/aur.git
synced 2026-03-04 16:06:25 +01:00
takeover package
This commit is contained in:
parent
f783395622
commit
c40821e2f6
2 changed files with 30 additions and 19 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,14 +1,14 @@
|
|||
pkgbase = r-later
|
||||
pkgdesc = Utilities for Scheduling Functions to Execute Later with Event Loops
|
||||
pkgver = 1.3.0
|
||||
pkgrel = 1
|
||||
pkgrel = 4
|
||||
url = https://cran.r-project.org/package=later
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
depends = r
|
||||
depends = r-rcpp>=0.12.9
|
||||
depends = r-rcpp
|
||||
depends = r-rlang
|
||||
depends = gcc
|
||||
optdepends = r-knitr
|
||||
optdepends = r-rmarkdown
|
||||
optdepends = r-testthat
|
||||
|
|
|
|||
43
PKGBUILD
43
PKGBUILD
|
|
@ -1,25 +1,36 @@
|
|||
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
|
||||
# system requirements: C++11
|
||||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
_cranname=later
|
||||
_cranver=1.3.0
|
||||
pkgname=r-${_cranname,,}
|
||||
pkgver=${_cranver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc="Utilities for Scheduling Functions to Execute Later with Event Loops"
|
||||
arch=(i686 x86_64)
|
||||
url="https://cran.r-project.org/package=${_cranname}"
|
||||
license=(MIT)
|
||||
depends=(r 'r-rcpp>=0.12.9' r-rlang)
|
||||
optdepends=(r-knitr r-rmarkdown r-testthat)
|
||||
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
|
||||
_pkgname=later
|
||||
_pkgver=1.3.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=1.3.0
|
||||
pkgrel=4
|
||||
pkgdesc='Utilities for Scheduling Functions to Execute Later with Event Loops'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
r
|
||||
r-rcpp
|
||||
r-rlang
|
||||
gcc
|
||||
)
|
||||
optdepends=(
|
||||
r-knitr
|
||||
r-rmarkdown
|
||||
r-testthat
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
sha256sums=('08f50882ca3cfd2bb68c83f1fcfbc8f696f5cfb5a42c1448c051540693789829')
|
||||
|
||||
build() {
|
||||
R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
|
||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm0755 "${pkgdir}/usr/lib/R/library"
|
||||
|
||||
cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
|
||||
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue