diff options
author | Christoph Fink | 2022-04-29 12:46:28 +0300 |
---|---|---|
committer | Christoph Fink | 2022-04-29 12:46:28 +0300 |
commit | 7a072721fc7c16e88937cea1d5e486a187cf866a (patch) | |
tree | 942a9f7fb95945cb8638452d4c0f2e6468a62726 /PKGBUILD | |
parent | 7327136e9829735ad3ad5e667329d3332e0dccc4 (diff) | |
download | aur-7a072721fc7c16e88937cea1d5e486a187cf866a.tar.gz |
upgpkg: r-biocgenerics 0.42.0-1
upstream release
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 27 insertions, 6 deletions
@@ -1,19 +1,37 @@ +# Maintainer: peippo <christoph+aur@christophfink.com> # Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com # Contributor: Grey Christoforo <first name at last name dot net> _bcname=BiocGenerics -_bcver=0.40.0 +_bcver=0.42.0 pkgname=r-${_bcname,,} pkgver=${_bcver//[:-]/.} pkgrel=1 pkgdesc="S4 generic functions used in Bioconductor" arch=(any) url="https://bioconductor.org/packages/release/bioc/html/${_bcname}.html" -license=(Artistic-2.0) -depends=('r>=4.0.0') -optdepends=(r-biobase r-s4vectors r-iranges r-genomicranges r-delayedarray r-biostrings r-rsamtools r-annotationdbi r-affy r-affyplm r-deseq2 r-flowclust r-msnbase r-annotate r-runit) +license=("Artistic-2.0") + +depends=("r>=4.0.0") +optdepends=( + r-biobase + r-s4vectors + r-iranges + r-genomicranges + r-delayedarray + r-biostrings + r-rsamtools + r-annotationdbi + r-affy + r-affyplm + r-deseq2 + r-flowclust + r-msnbase + r-annotate + r-runit +) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_bcname}_${_bcver}.tar.gz") -sha256sums=('d045577f491676583a5faca014af9774d993fffb999fdab3b3790a8732e9255b') +sha256sums=("0cb6fa74a389693d253a9f61935d335fcfcc1dfe5acbba78b3cc43c1af5d6947") build() { R CMD INSTALL ${_bcname}_${_bcver}.tar.gz -l "${srcdir}" @@ -21,6 +39,9 @@ build() { package() { install -dm0755 "${pkgdir}/usr/lib/R/library" - cp -a --no-preserve=ownership "${_bcname}" "${pkgdir}/usr/lib/R/library" + + if [[ -f "${_cranname}/LICENSE" ]]; then + install -Dm0644 "${_cranname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + fi } |