mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
37 lines
971 B
Bash
37 lines
971 B
Bash
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
|
|
|
_pkgname=clipr
|
|
_pkgver=0.8.0
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=${_pkgver//-/.}
|
|
pkgrel=9
|
|
pkgdesc="Read and Write from the System Clipboard"
|
|
arch=(any)
|
|
url="https://cran.r-project.org/package=$_pkgname"
|
|
license=('GPL-3.0-only')
|
|
depends=(
|
|
r
|
|
)
|
|
optdepends=(
|
|
"wl-clipboard: accessing Wayland clipboard"
|
|
"xclip: accessing X11 clipboard"
|
|
"xsel: alternative for accessing X11 clipboard"
|
|
r-covr
|
|
r-knitr
|
|
r-rmarkdown
|
|
r-rstudioapi
|
|
r-testthat
|
|
)
|
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
md5sums=('558ddf145114bbc0272e6aed05b8e5fe')
|
|
b2sums=('6b489ff1b8353942a327a550eaf9f1f693d74809515990b4e9dc666d7829532d89f368aeb081413dfb7a1e4aeedbb247c570f3187310078ea8bbf264d9b0bb2d')
|
|
|
|
build() {
|
|
mkdir build
|
|
R CMD INSTALL -l build "$_pkgname"
|
|
}
|
|
|
|
package() {
|
|
install -d "$pkgdir/usr/lib/R/library"
|
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
|
}
|