summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6edcc89da598ccd85225fba664d3a82a46d57f24 (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
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=GenKern
_pkgver=1.2-60
pkgname=r-${_pkgname,,}
pkgver=1.2.60
pkgrel=4
pkgdesc='Functions for generating and manipulating binned kernel density estimates'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
  r
)
source=("https://cran.r-project.org/src/contrib/Archive/${_pkgname}/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('cc74225fe6a092b4b98bebcc42b5ce5632dd492cc2368b4e8087fed87c6a158b')

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: