fix dependencies

This commit is contained in:
sukanka 2022-11-13 20:19:51 +08:00
parent 77969b3a78
commit ab8536372b
17 changed files with 294 additions and 4 deletions

View file

@ -0,0 +1,41 @@
# system requirements: C++11
# # Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=clock
_pkgver=0.6.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Date-Time Types and Tools'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('MIT')
depends=(
r
r-cpp11
r-rlang
r-tzdb
r-vctrs
)
optdepends=(
r-covr
r-knitr
r-magrittr
r-pillar
r-rmarkdown
r-testthat
r-withr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f80c385fd8229538968ffb71d7de53ddc82bfcec6641f8e76f299546c43c1702')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,9 @@
#!/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('-', '.'))

View file

@ -0,0 +1,12 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
repo_depends:
- r-cpp11
- r-rlang
- r-tzdb
- r-vctrs
update_on:
- regex: clock_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=clock

View file

@ -0,0 +1,29 @@
# Maintainer: sukanka <su975853527@gmail.com>
_pkgname=gson
_pkgver=0.0.9
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc="Base Class and Methods for 'gson' Format"
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('Artistic2.0')
depends=(
r
r-jsonlite
r-rlang
r-tidyr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f694765cd2872efb73dd7be66ef8e31395915f9b277f59e0891cff138777b118')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,9 @@
#!/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('-', '.'))

View file

@ -0,0 +1,14 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
repo_depends:
- r-jsonlite
- r-rlang
- r-tidyr
update_on:
- regex: gson_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=gson

View file

@ -0,0 +1,36 @@
# Maintainer: sukanka <su975853527@gmail.com>
_pkgname=logr
_pkgver=1.3.3
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Creates Log Files'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('CC0')
depends=(
r
r-this.path
r-withr
)
optdepends=(
r-covr
r-dplyr
r-knitr
r-rmarkdown
r-testthat
r-tidylog
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('d29da1f9afd3df1b5b85e86ca7c298d324a0cdb7a26e3717e4f2e8df1a176321')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,9 @@
#!/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('-', '.'))

View file

@ -0,0 +1,13 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
repo_depends:
- r-this.path
- r-withr
update_on:
- regex: logr_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=logr

View file

@ -11,11 +11,14 @@ url="https://cran.r-project.org/package=${_pkgname}"
license=('MIT')
depends=(
r
r-cli
r-clock
r-dplyr
r-ellipsis
r-generics
r-glue
r-gower
r-hardhat
r-ipred
r-lifecycle
r-lubridate
@ -28,13 +31,11 @@ depends=(
r-timedate
r-vctrs
r-withr
r-hardhat
)
optdepends=(
r-covr
r-ddalpha
r-dimred
r-fastica
r-dials
r-ggplot2
r-igraph
r-kernlab
@ -47,6 +48,7 @@ optdepends=(
r-rpart
r-rsample
r-rspectra
r-splines2
r-testthat
r-workflows
r-xml2

View file

@ -3,11 +3,14 @@ maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
repo_depends:
- r-cli
- r-clock
- r-dplyr
- r-ellipsis
- r-generics
- r-glue
- r-gower
- r-hardhat
- r-ipred
- r-lifecycle
- r-lubridate
@ -20,7 +23,6 @@ repo_depends:
- r-timedate
- r-vctrs
- r-withr
- r-hardhat
update_on:
- regex: recipes_([\d._-]+).tar.gz
source: regex

View file

@ -0,0 +1,37 @@
# Maintainer: sukanka <su975853527@gmail.com>
_pkgname=shinyvalidate
_pkgver=0.1.2
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Input Validation for Shiny Apps'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('MIT')
depends=(
r
r-glue
r-htmltools
r-rlang
r-shiny
)
optdepends=(
r-covr
r-knitr
r-rmarkdown
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('4751015af9fe37b03885cdf261bafff72deea425bd331a82ebaba9998332fa56')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,9 @@
#!/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('-', '.'))

View file

@ -0,0 +1,15 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
repo_depends:
- r-glue
- r-htmltools
- r-rlang
- r-shiny
update_on:
- regex: shinyvalidate_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=shinyvalidate

View file

@ -0,0 +1,34 @@
# Maintainer: sukanka <su975853527@gmail.com>
_pkgname=this.path
_pkgver=1.0.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc="Get Executing Script's Path, from 'RStudio', 'Rgui', 'VSCode', 'Rscript' (Shells Including Windows Command-Line / / Unix Terminal), and 'source'"
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('MIT')
depends=(
r
)
optdepends=(
r-microbenchmark
r-rprojroot
r-rstudioapi
r-testthat
r-utils
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('5469a1deff793b0f0d1866322cb4bde56ca83865f42d64001027d528a82e7f2f')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,9 @@
#!/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('-', '.'))

View file

@ -0,0 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- regex: this.path_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=this.path