diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 22 insertions, 12 deletions
@@ -1,19 +1,29 @@ +# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com # Contributor: Grey Christoforo <first name at last name dot net> -pkgname=r-summarizedexperiment -_bc_name=SummarizedExperiment -pkgver=1.16.0 + +_bcname=SummarizedExperiment +_bcver=1.16.1 +pkgname=r-${_bcname,,} +pkgver=${_bcver//[:-]/.} pkgrel=1 pkgdesc="SummarizedExperiment container" -url="https://bioconductor.org/packages/release/bioc/html/${_bc_name}.html" -arch=("x86_64") -license=('Artistic-2.0') -depends=('r' 'r-genomeinfodb' 'r-iranges' 'r-biocgenerics' 'r-s4vectors' 'r-genomicranges' 'r-biobase' 'r-delayedarray') -source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_bc_name}_${pkgver}.tar.gz") -sha1sums=('a56b0817ad6a3c182c0da68a5b6f5433907a24a3') +arch=(any) +url="https://bioconductor.org/packages/release/bioc/html/${_bcname}.html" +license=(Artistic-2.0) +depends=('r>=3.2' 'r-genomicranges>=1.33.6' r-biobase 'r-delayedarray>=0.3.20' 'r-biocgenerics>=0.15.3' 'r-s4vectors>=0.23.20' 'r-iranges>=2.13.16' 'r-genomeinfodb>=1.13.1') +optdepends=(r-annotate r-annotationdbi r-hgu95av2.db r-genomicfeatures r-txdb.hsapiens.ucsc.hg19.knowngene r-biocstyle r-knitr r-rmarkdown r-digest r-jsonlite r-rhdf5 r-hdf5array r-airway r-runit r-testthat) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_bcname}_${_bcver}.tar.gz") +md5sums=('33fbb7b4c9bad189ecfa7b0e3830d0d9') + +build() { + cd "${srcdir}" + + R CMD INSTALL ${_bcname}_${_bcver}.tar.gz -l ${srcdir} +} package() { - mkdir -p $pkgdir/usr/lib/R/library - cd $srcdir + cd "${srcdir}" - R CMD INSTALL -l $pkgdir/usr/lib/R/library ./${_bc_name} + install -dm0755 "${pkgdir}/usr/lib/R/library" + cp -a --no-preserve=ownership "${_bcname}" "${pkgdir}/usr/lib/R/library" } |