# Maintainer: Guoyi Zhang _pkgname=scattermore _pkgver=1.2 pkgname=r-${_pkgname,,} pkgver=1.2 pkgrel=1 pkgdesc='Scatterplots with More Points' arch=('x86_64') url="https://cran.r-project.org/package=${_pkgname}" license=('GPL') depends=( r r-ggplot2 r-scales ) optdepends=( r-covr r-knitr r-rmarkdown r-testthat ) source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") sha256sums=('5534a87b0bdd1375f0fbffc1a5c980ad64e33a108435a67469b8324b580602d1') 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: