Packages/BioArchLinux/r-genomicplot/PKGBUILD
2024-01-17 21:56:37 +02:00

60 lines
1.2 KiB
Bash

# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=GenomicPlot
_pkgver=1.0.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Plot profiles of next generation sequencing data in genomic features"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-2.0-only')
depends=(
r-biocgenerics
r-circlize
r-complexheatmap
r-cowplot
r-dplyr
r-edger
r-genomation
r-genomeinfodb
r-genomicalignments
r-genomicfeatures
r-genomicranges
r-ggplot2
r-ggplotify
r-ggpubr
r-ggsci
r-ggsignif
r-iranges
r-plyranges
r-rcas
r-rsamtools
r-rtracklayer
r-scales
r-tidyr
r-venndiagram
r-viridis
)
optdepends=(
r-annotationdbi
r-biobase
r-biocstyle
r-knitr
r-r.utils
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('bcc9e662f63c7b11abdeeb1c42397fca')
b2sums=('a33075353f3ff8c7f8eae3c8239365cbdc69399079a31324924844e1c8a2d229bf9abc9c2664d1b44b58f90b544032a130b92f3592d93c270fcfc0e29b6a061f')
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"
}