mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-bstats: replace _cran with _pkg, update regex
This commit is contained in:
parent
05caa354d9
commit
690b69d5b6
2 changed files with 8 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
||||||
#Maintainer: sukanka <su975853527 AT gmail.com>
|
#Maintainer: sukanka <su975853527 AT gmail.com>
|
||||||
_cranname=bstats
|
_pkgname=bstats
|
||||||
_cranver=0.0.0.9002
|
_pkgver=0.0.0.9002
|
||||||
pkgname=r-${_cranname,,}
|
pkgname=r-${_pkgname,,}
|
||||||
pkgver=${_cranver//[:-]/.}
|
pkgver=${_pkgver//[:-]/.}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Bayesian statistics"
|
pkgdesc="Bayesian statistics"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/AlexanderLyNL/${_cranname}"
|
url="https://github.com/AlexanderLyNL/${_pkgname}"
|
||||||
license=('LGPL3')
|
license=('LGPL3')
|
||||||
depends=(r
|
depends=(r
|
||||||
r-hypergeo
|
r-hypergeo
|
||||||
|
@ -15,13 +15,13 @@ depends=(r
|
||||||
)
|
)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
optdepends=()
|
optdepends=()
|
||||||
source=("git+https://github.com/AlexanderLyNL/${_cranname}.git")
|
source=("git+https://github.com/AlexanderLyNL/${_pkgname}.git")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir -p ${srcdir}/usr/lib/R/library
|
mkdir -p ${srcdir}/usr/lib/R/library
|
||||||
R -e "install.packages('${srcdir}/${_cranname}',\
|
R -e "install.packages('${srcdir}/${_pkgname}',\
|
||||||
type='source', repos=NULL,lib='${srcdir}/usr/lib/R/library', INSTALL_opts='--no-multiarch --no-docs --no-test-load')"
|
type='source', repos=NULL,lib='${srcdir}/usr/lib/R/library', INSTALL_opts='--no-multiarch --no-docs --no-test-load')"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,6 @@ repo_depends:
|
||||||
- r-suppdists
|
- r-suppdists
|
||||||
|
|
||||||
update_on:
|
update_on:
|
||||||
- regex: "Version:\s*([\d._-]+)"
|
- regex: 'Version:\s*([\d._-]+)'
|
||||||
source: regex
|
source: regex
|
||||||
url: https://raw.githubusercontent.com/AlexanderLyNL/bstats/master/DESCRIPTION
|
url: https://raw.githubusercontent.com/AlexanderLyNL/bstats/master/DESCRIPTION
|
Loading…
Add table
Reference in a new issue