add deps from github

This commit is contained in:
Sukanka 2022-06-03 23:44:44 +08:00
parent 560b5a66e0
commit 5f886ef5a5
9 changed files with 219 additions and 0 deletions

View file

@ -0,0 +1,32 @@
#Maintainer: sukanka <su975853527 AT gmail.com>
_pkgname=conting
_pkgver=1.7.9999
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc="Bayesian Analysis of Contingency Tables"
arch=('any')
url="https://github.com/vandenman/${_pkgname}"
license=('GPL2')
depends=(r
r-mvtnorm
r-gtools
r-tseries
r-coda
)
makedepends=()
optdepends=()
source=("git+https://github.com/vandenman/${_pkgname}.git")
sha256sums=('SKIP')
build() {
mkdir -p ${srcdir}/usr/lib/R/library
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')"
}
package() {
cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
}

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,15 @@
maintainers:
- github: sukanka
email: su975853527@gmail.com
build_prefix: extra-x86_64
repo_depends:
- r-mvtnorm
- r-gtools
- r-tseries
- r-coda
pre_build: vcs_update
post_build: git_pkgbuild_commit
update_on:
- regex: 'Version:\s*([\d._-]+)'
source: regex
url: https://raw.githubusercontent.com/vandenman/conting/master/DESCRIPTION

View file

@ -0,0 +1,52 @@
#Maintainer: sukanka <su975853527 AT gmail.com>
_pkgname=flexplot
_pkgver=0.13.3
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc="Graphically Based Data Analysis"
arch=('x86_64')
url="https://github.com/dustinfife/${_pkgname}"
license=('GPL2')
depends=(r
r-cowplot
r-tibble
r-withr
r-dplyr
r-magrittr
r-forcats
r-purrr
r-plyr
r-r6
r-ggplot2
r-patchwork
r-ggsci
r-lme4
r-party
r-rlang
)
makedepends=(r-jmvcore)
optdepends=(
r-jmvcore
r-vdiffr
r-knitr
r-testthat
r-randomforest
r-markdown
r-papaja
r-tidyverse
)
source=("git+https://github.com/dustinfife/${_pkgname}.git")
sha256sums=('SKIP')
build() {
mkdir -p ${srcdir}/usr/lib/R/library
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')"
}
package() {
cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
}

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,27 @@
maintainers:
- github: sukanka
email: su975853527@gmail.com
build_prefix: extra-x86_64
repo_depends:
- r-cowplot
- r-tibble
- r-withr
- r-dplyr
- r-magrittr
- r-forcats
- r-purrr
- r-plyr
- r-r6
- r-ggplot2
- r-patchwork
- r-ggsci
- r-lme4
- r-party
- r-rlang
- r-jmvcore
pre_build: vcs_update
post_build: git_pkgbuild_commit
update_on:
- regex: 'Version:\s*([\d._-]+)'
source: regex
url: https://raw.githubusercontent.com/dustinfife/flexplot/master/DESCRIPTION

View file

@ -0,0 +1,42 @@
#Maintainer: sukanka <su975853527 AT gmail.com>
_pkgname=stanova
_pkgver=0.3-0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc="Bayesian Models with Categorical Variables"
arch=('x86_64')
url="https://github.com/bayesstuff/${_pkgname}"
license=('LGPL3')
depends=(r
r-lme4
r-coda
r-rstan
r-emmeans
)
makedepends=()
optdepends=(
r-testthat
r-rstanarm
r-brms
r-memss
r-afex
r-glmmtmb
r-bayesplot
r-tibble
r-tidybayes
r-tidyverse
)
source=("git+https://github.com/bayesstuff/${_pkgname}.git")
sha256sums=('SKIP')
build() {
mkdir -p ${srcdir}/usr/lib/R/library
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')"
}
package() {
cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
}

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,15 @@
maintainers:
- github: sukanka
email: su975853527@gmail.com
build_prefix: extra-x86_64
repo_depends:
- r-lme4
- r-coda
- r-rstan
- r-emmeans
pre_build: vcs_update
post_build: git_pkgbuild_commit
update_on:
- regex: 'Version:\s*([\d._-]+)'
source: regex
url: https://raw.githubusercontent.com/bayesstuff/stanova/master/DESCRIPTION