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>
|
||||
_cranname=bstats
|
||||
_cranver=0.0.0.9002
|
||||
pkgname=r-${_cranname,,}
|
||||
pkgver=${_cranver//[:-]/.}
|
||||
_pkgname=bstats
|
||||
_pkgver=0.0.0.9002
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc="Bayesian statistics"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/AlexanderLyNL/${_cranname}"
|
||||
url="https://github.com/AlexanderLyNL/${_pkgname}"
|
||||
license=('LGPL3')
|
||||
depends=(r
|
||||
r-hypergeo
|
||||
|
@ -15,13 +15,13 @@ depends=(r
|
|||
)
|
||||
makedepends=()
|
||||
optdepends=()
|
||||
source=("git+https://github.com/AlexanderLyNL/${_cranname}.git")
|
||||
source=("git+https://github.com/AlexanderLyNL/${_pkgname}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
||||
build() {
|
||||
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')"
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@ repo_depends:
|
|||
- r-suppdists
|
||||
|
||||
update_on:
|
||||
- regex: "Version:\s*([\d._-]+)"
|
||||
- regex: 'Version:\s*([\d._-]+)'
|
||||
source: regex
|
||||
url: https://raw.githubusercontent.com/AlexanderLyNL/bstats/master/DESCRIPTION
|
Loading…
Add table
Reference in a new issue