mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
53 lines
1.2 KiB
Bash
53 lines
1.2 KiB
Bash
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
|
|
|
_pkgname=tximeta
|
|
_pkgver=1.24.0
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=${_pkgver//-/.}
|
|
pkgrel=1
|
|
pkgdesc="Transcript Quantification Import with Automatic Metadata"
|
|
arch=(any)
|
|
url="https://bioconductor.org/packages/$_pkgname"
|
|
license=('GPL-2.0-only')
|
|
depends=(
|
|
r-annotationdbi
|
|
r-annotationhub
|
|
r-biocfilecache
|
|
r-biostrings
|
|
r-ensembldb
|
|
r-genomeinfodb
|
|
r-genomicfeatures
|
|
r-genomicranges
|
|
r-iranges
|
|
r-jsonlite
|
|
r-s4vectors
|
|
r-summarizedexperiment
|
|
r-tibble
|
|
r-txdbmaker
|
|
r-tximport
|
|
)
|
|
optdepends=(
|
|
r-deseq2
|
|
r-devtools
|
|
r-edger
|
|
r-fishpond
|
|
r-knitr
|
|
r-limma
|
|
r-org.dm.eg.db
|
|
r-rmarkdown
|
|
r-testthat
|
|
r-tximportdata
|
|
)
|
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
md5sums=('bd4f17024e7ddfe3c007e5726deef378')
|
|
b2sums=('ba0a1bfa3de5e92aa21a6588446fd2d896f8f1c1451ba025aff02b375a72ecaeaa25cb80b1d2281c09e5d66db391927a54a375f7aed9ce24cb608b6a474fbaa6')
|
|
|
|
build() {
|
|
mkdir build
|
|
R CMD INSTALL -l build "$_pkgname"
|
|
}
|
|
|
|
package() {
|
|
install -d "$pkgdir/usr/lib/R/library"
|
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
|
}
|