summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 74b46f532ae771198aefdfb95a67a22a90313082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=CMplot
_pkgver=4.5.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Circle Manhattan Plot"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
  r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('f32790ba773b4aca62c301d2d7045d3c')
b2sums=('c938c8fe1dda4935b899653d33b472e613ed894768013c52dcd2fac374cc3c94f39dfca434e80a99995746c3a1a753dff71b67040231c84ea9bfa1a98c5d1978')

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"
}