mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-puma: fix #38
This commit is contained in:
parent
2c4b6b7d90
commit
96078f6435
3 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||||
|
|
||||||
_pkgname=puma
|
_pkgname=puma
|
||||||
_pkgver=3.36.0
|
_pkgver=3.38.0
|
||||||
pkgname=r-${_pkgname,,}
|
pkgname=r-${_pkgname,,}
|
||||||
pkgver=${_pkgver//[:-]/.}
|
pkgver=${_pkgver//[:-]/.}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
@ -27,9 +27,14 @@ optdepends=(
|
||||||
r-snow
|
r-snow
|
||||||
)
|
)
|
||||||
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
sha256sums=('a')
|
sha256sums=('2b2c41a391f352854b0a303a9861c3806078867bb626c65d2405143964b17e5b')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
echo "CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection" > "${srcdir}/Makevars"
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
R_MAKEVARS_USER="${srcdir}/Makevars" \
|
||||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue