# Maintainer: Guoyi Zhang _pkgname=clst _pkgver=1.52.0 pkgname=r-${_pkgname,,} pkgver=1.52.0 pkgrel=1 pkgdesc='Classification by local similarity threshold' arch=('any') url="https://bioconductor.org/packages/${_pkgname}" license=('GPL') depends=( r r-roc ) optdepends=( r-runit ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") sha256sums=('52807bfd5600d5bc9243a604b845687dafa11c0650935f0fddea4a9b71fde859') 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: