Packages/BioArchLinux/r-garfield/PKGBUILD

29 lines
778 B
Bash

# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=garfield
_pkgver=1.24.0
pkgname=r-${_pkgname,,}
pkgver=1.24.0
pkgrel=2
pkgdesc='GWAS Analysis of Regulatory or Functional Information Enrichment with LD correction'
arch=('x86_64')
url="https://bioconductor.org/packages/${_pkgname}"
license=('GPL')
depends=(
r
)
optdepends=(
r-knitr
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('6749e6285c811fdf18c1e55b69cf24bb168200aa90daa41a92972886cef9e8b6')
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: