blob: c843af608bfc5d0744744ea39d6b580ef9d61170 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=EBImage
_pkgver=4.48.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Image processing and analysis toolbox for R"
arch=(x86_64)
url="https://bioconductor.org/packages/$_pkgname"
license=('LGPL-2.0-or-later')
depends=(
r-abind
r-biocgenerics
r-fftwtools
r-htmltools
r-htmlwidgets
r-jpeg
r-locfit
r-png
r-rcurl
r-tiff
)
optdepends=(
r-biocstyle
r-digest
r-knitr
r-rmarkdown
r-shiny
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('e8bcb4c4a3c7c36005ad0c7992f836fd')
b2sums=('56ba61476319fb3fe9b7dad0663d35eb204fea861aef9c4f330de1ce225593871392426ad08ce7825aefd7a243223abdc67e98113b29071b097b975f2158f2d6')
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"
}
|