add some aur packages

This commit is contained in:
sukanka 2022-07-21 22:25:40 +08:00
parent 61271ae6fd
commit ff378e1c3a
21 changed files with 402 additions and 0 deletions

View file

@ -0,0 +1,37 @@
# Maintainer: sukanka <su975853527@gmail.com>
# Contributor: Robert Greener <me@r0bert.dev>
_pkgname=cNORM
_pkgver=3.0.2
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Continuous Norming'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('AGPL')
depends=(
r
r-latticeextra
r-leaps
)
optdepends=(
r-foreign
r-knitr
r-readxl
r-rmarkdown
r-shiny
r-shinycssloaders
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('31231a0612915ee5171676b28273f82acdc8914bd6385fc9e7b17f930e66c91a')
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,13 @@
#!/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()
update_aur_repo()

View file

@ -0,0 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
repo_depends:
- r-latticeextra
- r-leaps
update_on:
- regex: cNORM_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=cNORM

View file

@ -0,0 +1,50 @@
# Maintainer: sukanka <su975853527@gmail.com>
# Contributor: Robert Greener <me@r0bert.dev>
_pkgname=FSA
_pkgver=0.9.3
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Simple Fisheries Stock Assessment Methods'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-car
r-dunn.test
r-lmtest
r-plotrix
r-withr
)
optdepends=(
r-covr
r-desctools
r-dplyr
r-fishmethods
r-fsadata
r-knitr
r-marked
r-nlme
r-nlstools
r-pkgdown
r-plyr
r-psych
r-rcapture
r-rmarkdown
r-testthat
r-tibble
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('3c102c2bab42ae3ffbf1180eaca4d48814f11fd0af3f684ef2f68593430a5d81')
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,13 @@
#!/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()
update_aur_repo()

View file

@ -0,0 +1,13 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
repo_depends:
- r-car
- r-dunn.test
- r-lmtest
- r-plotrix
- r-withr
update_on:
- regex: FSA_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=FSA

View file

@ -0,0 +1,27 @@
# Maintainer: sukanka <su975853527@gmail.com>
# Contributor: Robert Greener <me@r0bert.dev>
_pkgname=gbRd
_pkgver=0.4-11
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Utilities for processing Rd objects and files'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('0251f6dd6ca987a74acc4765838b858f1edb08b71dbad9e563669b58783ea91b')
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,13 @@
#!/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()
update_aur_repo()

View file

@ -0,0 +1,7 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
update_on:
- regex: gbRd_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=gbRd

View file

@ -0,0 +1,31 @@
# Maintainer: sukanka <su975853527@gmail.com>
# Contributor: Robert Greener <me@r0bert.dev>
_pkgname=metadynminer
_pkgver=0.1.7
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc="Tools to Read, Analyze and Visualize Metadynamics HILLS Files from 'Plumed'"
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-rcpp
)
optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f03715709ef663f30793bf365b3586aa8be733113a73c49068e2a0a131360832')
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,13 @@
#!/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()
update_aur_repo()

View file

@ -0,0 +1,9 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
repo_depends:
- r-rcpp
update_on:
- regex: metadynminer_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=metadynminer

View file

@ -0,0 +1,34 @@
# Maintainer: sukanka <su975853527@gmail.com>
# Contributor: Robert Greener <me@r0bert.dev>
_pkgname=metadynminer3d
_pkgver=0.0.2
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc="Tools to Read, Analyze and Visualize Metadynamics 3D HILLS Files from 'Plumed'"
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-metadynminer
r-misc3d
r-rcpp
r-rgl
)
optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('55e2b7a17e08f0ebcfbb621ea0c03ebce73576c9de2409491a3be353aed32cf8')
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,13 @@
#!/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()
update_aur_repo()

View file

@ -0,0 +1,12 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
repo_depends:
- r-metadynminer
- r-misc3d
- r-rcpp
- r-rgl
update_on:
- regex: metadynminer3d_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=metadynminer3d

View file

@ -0,0 +1,33 @@
# Maintainer: sukanka <su975853527@gmail.com>
# Contributor: Robert Greener <me@r0bert.dev>
_pkgname=rcompanion
_pkgver=2.4.16
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Functions to Support Extension Education Program Evaluation'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-coin
r-desctools
r-lmtest
r-multcompview
r-nortest
r-plyr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f4d2f628e44c7c0b19105b5a5f97c78bd88c4fe579eb34dd6696ee6d69469227')
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,13 @@
#!/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()
update_aur_repo()

View file

@ -0,0 +1,14 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
repo_depends:
- r-coin
- r-desctools
- r-lmtest
- r-multcompview
- r-nortest
- r-plyr
update_on:
- regex: rcompanion_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=rcompanion

View file

@ -0,0 +1,27 @@
# Maintainer: sukanka <su975853527@gmail.com>
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
_pkgname=sciplot
_pkgver=1.2-0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Scientific Graphing Functions for Factorial Designs'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('738fa4ddc1c1d20f5467376d9278f6461a405617904b871a378e94ade563ff24')
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,13 @@
#!/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()
update_aur_repo()

View file

@ -0,0 +1,7 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
update_on:
- regex: sciplot_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=sciplot