r-*: use metadata checks for several packages

This commit is contained in:
Pekka Ristola 2023-12-24 16:53:59 +02:00
parent 533eb673ca
commit 00fd1f84d4
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
54 changed files with 388 additions and 341 deletions

View file

@ -3,12 +3,12 @@
_pkgname=additivityTests _pkgname=additivityTests
_pkgver=1.1-4.1 _pkgver=1.1-4.1
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.1.4.1 pkgver=${_pkgver//-/.}
pkgrel=5 pkgrel=5
pkgdesc='Additivity Tests in the Two Way Anova with Single Sub-class Numbers' pkgdesc="Additivity Tests in the Two Way Anova with Single Sub-Class Numbers"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL3)
depends=( depends=(
r r
) )
@ -16,14 +16,15 @@ optdepends=(
r-knitr r-knitr
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('0421d0aa00edb67c42a61a66722c43cb95d8cd1dafa6bff603739a6fd0767f02') md5sums=('0aa55442e90e17042e1fdb78b29c525c')
b2sums=('fdddc851dc30942495272e759e06965a6cda841de4c7b7edb113beb74f2d96b5116f8d30f9c7a5f001377350e7d8d26d1c503957827d5cbb7ebf953f3f1488c7')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: additivityTests_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: additivityTests
url: https://cran.r-project.org/package=additivityTests repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,24 +3,25 @@
_pkgname=bdsmatrix _pkgname=bdsmatrix
_pkgver=1.3-6 _pkgver=1.3-6
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.3.6 pkgver=${_pkgver//-/.}
pkgrel=6 pkgrel=6
pkgdesc='Routines for Block Diagonal Symmetric Matrices' pkgdesc="Routines for Block Diagonal Symmetric Matrices"
arch=('x86_64') arch=(x86_64)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('LGPL') license=(LGPL2.1)
depends=( depends=(
r r
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f9c871d54378408902931792b3dbf8bda863d6aa67af6a0472a6ec1c420760bc') md5sums=('4f8ccf979ab7f88fa71b7e45323b219a')
b2sums=('1bceed25e2ab1e3de9d6eb401797d87d4bd7e69bc90c436b41381649b9a1d11e8179fbf6d4ec3d03516c9587cbe7dacb2ecf673e1f10a7afb61bbb46874dd690')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: bdsmatrix_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: bdsmatrix
url: https://cran.r-project.org/package=bdsmatrix repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,12 +3,12 @@
_pkgname=BeadDataPackR _pkgname=BeadDataPackR
_pkgver=1.54.0 _pkgver=1.54.0
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.54.0 pkgver=${_pkgver//-/.}
pkgrel=1 pkgrel=1
pkgdesc='Compression of Illumina BeadArray data' pkgdesc="Compression of Illumina BeadArray data"
arch=('x86_64') arch=(x86_64)
url="https://bioconductor.org/packages/${_pkgname}" url="https://bioconductor.org/packages/$_pkgname"
license=('GPL') license=(GPL2)
depends=( depends=(
r r
) )
@ -17,14 +17,15 @@ optdepends=(
r-knitr r-knitr
) )
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('bf8334ad6e6b7a7df914ceb0e4331fac47f65ee0a9ffa9d3face616cf86dd769') md5sums=('b1e73395e4f18af4b799a1f447487a87')
b2sums=('52af55ac7067abbf25debad01d9dfd1dde91fe34d38dc227639cfed7296e2817e456bf2e72a8341c1f69308dae200feb8815c06f1a4e1a6ac930c43fed8b39f7')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: BeadDataPackR_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: BeadDataPackR
url: https://bioconductor.org/packages/BeadDataPackR repo: bioc
md5: true
- alias: r - alias: r

View file

@ -6,12 +6,12 @@
_pkgname=brew _pkgname=brew
_pkgver=1.0-10 _pkgver=1.0-10
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.0.10 pkgver=${_pkgver//-/.}
pkgrel=1 pkgrel=1
pkgdesc='Templating Framework for Report Generation' pkgdesc="Templating Framework for Report Generation"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL)
depends=( depends=(
r r
) )
@ -19,14 +19,15 @@ optdepends=(
r-testthat r-testthat
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('4181f7334e032ae0775c5dec49d6137eb25d5430ca3792d321793307b3dda38f') md5sums=('c1ebbea7284161a8884ffe9ae5ca451f')
b2sums=('de4ef8171ae15ecea559a4a0a6e1414bef9eec0bd457aa00601a34738277bddad72eff90f41fd6c3dc3579bd849297922f2eb8e411238b736f9d8808b526ac54')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: brew_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: brew
url: https://cran.r-project.org/package=brew repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,12 +3,12 @@
_pkgname=dixonTest _pkgname=dixonTest
_pkgver=1.0.4 _pkgver=1.0.4
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.0.4 pkgver=${_pkgver//-/.}
pkgrel=2 pkgrel=2
pkgdesc="Dixon's Ratio Test for Outlier Detection" pkgdesc="Dixon's Ratio Test for Outlier Detection"
arch=('x86_64') arch=(x86_64)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL3)
depends=( depends=(
r r
) )
@ -16,14 +16,15 @@ makedepends=(
gcc-fortran gcc-fortran
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('b8694e4c4123827f954dffd0a30fb8c7f9cf49d0ec66be4d79eba0f4834ee33f') md5sums=('3f0dfa902dc3f22986b729f500f9ac63')
b2sums=('126309cab66862de09a4032d61d161dfe08eccafe0799a065046e96270a19890054c2708335d1dc182429a86b2fa912b99bdcdfad30c20d5123cd824ba4e0883')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: dixonTest_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: dixonTest
url: https://cran.r-project.org/package=dixonTest repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,12 +3,12 @@
_pkgname=fitdistrplus _pkgname=fitdistrplus
_pkgver=1.1-11 _pkgver=1.1-11
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.1.11 pkgver=${_pkgver//-/.}
pkgrel=3 pkgrel=3
pkgdesc='Help to Fit of a Parametric Distribution to Non-Censored or Censored Data' pkgdesc="Help to Fit of a Parametric Distribution to Non-Censored or Censored Data"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL)
depends=( depends=(
r r
) )
@ -25,14 +25,15 @@ optdepends=(
r-rmarkdown r-rmarkdown
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('26274f2b710b2417a8bca314d400abf320d4ccf0387ad082743056699501b53d') md5sums=('512df42bc5b35be4690c17882315f33b')
b2sums=('a4fd884dcf7813d0fdd1c2c96dd4de6ca747b1e775553cdcc797006c45b6521395780193a8ff9c9258cad6d1eac00418dcdbcd557a6594407fbc734e97c45043')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: fitdistrplus_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: fitdistrplus
url: https://cran.r-project.org/package=fitdistrplus repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,24 +3,25 @@
_pkgname=infotheo _pkgname=infotheo
_pkgver=1.2.0.1 _pkgver=1.2.0.1
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.2.0.1 pkgver=${_pkgver//-/.}
pkgrel=7 pkgrel=7
pkgdesc='Information-Theoretic Measures' pkgdesc="Information-Theoretic Measures"
arch=('x86_64') arch=(x86_64)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL3)
depends=( depends=(
r r
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('c0fb8ec97ad3a49f231c4c993b5eee70c6a61c8c30dc4a46197867e4763a29d4') md5sums=('980ad0bc179733e870c25276cc95680e')
b2sums=('29605dd98d54deccf85ca2c2edd181042f4c83253973925a80b620742a96ed7b4b092f0aa56cb65eb8d38d10674d9f0a3891b2b925f7fe0f99ff1e3aa7649708')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: infotheo_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: infotheo
url: https://cran.r-project.org/package=infotheo repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,12 +3,12 @@
_pkgname=insight _pkgname=insight
_pkgver=0.19.7 _pkgver=0.19.7
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=0.19.7 pkgver=${_pkgver//-/.}
pkgrel=1 pkgrel=1
pkgdesc='Easy Access to Model Information for Various Model Objects' pkgdesc="Easy Access to Model Information for Various Model Objects"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL3)
depends=( depends=(
r r
) )
@ -25,7 +25,6 @@ optdepends=(
r-biglm r-biglm
r-blavaan r-blavaan
r-blme r-blme
r-boot
r-brms r-brms
r-broom r-broom
r-car r-car
@ -53,10 +52,10 @@ optdepends=(
r-gee r-gee
r-geepack r-geepack
r-geor r-geor
r-ggeffects
r-glmmadaptive r-glmmadaptive
r-glmmtmb r-glmmtmb
r-gmnl r-gmnl
r-grdevices
r-gt r-gt
r-httr r-httr
r-interp r-interp
@ -72,8 +71,6 @@ optdepends=(
r-logistf r-logistf
r-logitr r-logitr
r-marginaleffects r-marginaleffects
r-mass
r-matrix
r-mclogit r-mclogit
r-mclust r-mclust
r-mcmcglmm r-mcmcglmm
@ -82,7 +79,6 @@ optdepends=(
r-metadat r-metadat
r-metafor r-metafor
r-metaplus r-metaplus
r-mgcv
r-mhurdle r-mhurdle
r-mice r-mice
r-mlogit r-mlogit
@ -90,8 +86,6 @@ optdepends=(
r-modelbased r-modelbased
r-multgee r-multgee
r-nestedlogit r-nestedlogit
r-nlme
r-nnet
r-nonnest2 r-nonnest2
r-ordinal r-ordinal
r-panelr r-panelr
@ -109,31 +103,30 @@ optdepends=(
r-rms r-rms
r-robustbase r-robustbase
r-robustlmm r-robustlmm
r-rpart
r-rstanarm r-rstanarm
r-rstantools r-rstantools
r-rstudioapi r-rstudioapi
r-sandwich r-sandwich
r-speedglm r-speedglm
r-splines
r-statmod r-statmod
r-survey r-survey
r-survival
r-testthat r-testthat
r-tmb r-tmb
r-truncreg r-truncreg
r-tweedie r-tweedie
r-vgam r-vgam
r-withr
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('41a54c13a3f04108c79469cf35c41161f37e2d89e6d70791eb13fd5fc0e71f06') md5sums=('e13822ab6a330715c876b28a7a4805f4')
b2sums=('149cbe5108b8fe8c37f64ccec4cddc3b60f21904098f67a1073a86758e5cccb4ee3ae0975c6231792aad286c333884f90d3fb61791e32ca386bea0cbaea2fb8f')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: insight_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: insight
url: https://cran.r-project.org/package=insight repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,31 +3,29 @@
_pkgname=investr _pkgname=investr
_pkgver=1.4.2 _pkgver=1.4.2
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.4.2 pkgver=${_pkgver//-/.}
pkgrel=7 pkgrel=7
pkgdesc='Inverse Estimation/Calibration Functions' pkgdesc="Inverse Estimation/Calibration Functions"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL)
depends=( depends=(
r r
) )
optdepends=( optdepends=(
r-boot
r-datasets
r-knitr r-knitr
r-mass
r-testthat r-testthat
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('2a07537777b95370f574b597e1d97279cd700ec9d17d2bad8a1c8ef846dc198a') md5sums=('35f482b245f8033f4168e87d4a02e898')
b2sums=('1ab183d2d42da6ddf801cfabadafce5c16d5ff16ceddb78542c31a71ce864fe27508514fc8a7e636cc218f8029cc14a86cf3924075e44d58ba8c1a87a84dcc97')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: investr_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: investr
url: https://cran.r-project.org/package=investr repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,28 +3,28 @@
_pkgname=LaplacesDemon _pkgname=LaplacesDemon
_pkgver=16.1.6 _pkgver=16.1.6
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=16.1.6 pkgver=${_pkgver//-/.}
pkgrel=6 pkgrel=6
pkgdesc='Complete Environment for Bayesian Inference' pkgdesc="Complete Environment for Bayesian Inference"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('MIT') license=(MIT)
depends=( depends=(
r r
) )
optdepends=(
r-kernsmooth
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('57b53882fd7a195b38bbdbbf0b17745405eb3159b1b42f7f11ce80c78ab94eb7') md5sums=('7b23b0c00987f6974aad4795ad7b6614')
b2sums=('8140b1bc034bf8d8f1ea8544200abdd715396bd9d92e5a6b73228d9c94859c82b4ef0eb54cb87fef26993116973827ee3a81d94b58c242e2d249a3983917b179')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -d "$pkgdir/usr/share/licenses/$pkgname"
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: LaplacesDemon_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: LaplacesDemon
url: https://cran.r-project.org/package=LaplacesDemon repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,12 +3,12 @@
_pkgname=MGLM _pkgname=MGLM
_pkgver=0.2.1 _pkgver=0.2.1
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=0.2.1 pkgver=${_pkgver//-/.}
pkgrel=9 pkgrel=9
pkgdesc='Multivariate Response Generalized Linear Models' pkgdesc="Multivariate Response Generalized Linear Models"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL)
depends=( depends=(
r r
) )
@ -20,14 +20,15 @@ optdepends=(
r-testthat r-testthat
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('aed900e67f6aa30f1f5da2220a7621fdaad2428697bf4be4a68f9192b29d6d3a') md5sums=('d4c964eaa6fd83920fd9948ade55a0f4')
b2sums=('4900e0585fdc4da3f96839d9f3f9efa9eb101069d5d56531bded5b9636ebb59b9e3dd4c0e1652d56af2ae7950a09c5cbfa7c024dc2261c07c315ebf57383e6ea')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: MGLM_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: MGLM
url: https://cran.r-project.org/package=MGLM repo: cran
md5: true
- alias: r - alias: r

View file

@ -4,24 +4,25 @@
_pkgname=modeltools _pkgname=modeltools
_pkgver=0.2-23 _pkgver=0.2-23
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=0.2.23 pkgver=${_pkgver//-/.}
pkgrel=11 pkgrel=11
pkgdesc='Tools and Classes for Statistical Models' pkgdesc="Tools and Classes for Statistical Models"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL2)
depends=( depends=(
r r
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('6b3e8d5af1a039db5c178498dbf354ed1c5627a8cea9229726644053443210ef') md5sums=('954e3f72a5fd9086f070f7fcc41a08f1')
b2sums=('af734abbab0177159bcb62babe233d777c697d510d0d152b3b1303c02e174a2ee6bc1a3767725ba89b20a83222a1e848d62ac31cf625d0ccc0aa3db150204c33')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: modeltools_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: modeltools
url: https://cran.r-project.org/package=modeltools repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,24 +3,25 @@
_pkgname=moments _pkgname=moments
_pkgver=0.14.1 _pkgver=0.14.1
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=0.14.1 pkgver=${_pkgver//-/.}
pkgrel=6 pkgrel=6
pkgdesc='Moments, cumulants, skewness, kurtosis and related tests' pkgdesc="Moments, Cumulants, Skewness, Kurtosis and Related Tests"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL)
depends=( depends=(
r r
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('2ed2b84802da132ae0cf826a65de5bfa85042b82e086be844002fe1ce270d864') md5sums=('622afd35702c45ad010c106af2457458')
b2sums=('60e12f8a33c051cb91282438d8afb1459882b332ccdde217cdd10cafab32d97084b49a0e670b1716035188d37be7199740ac5baf06ab803309e9586bc7c683b0')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,16 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(
if line.startswith('_pkgver='): _G,
line = f'_pkgver={_G.newver}' expect_title = "Moments, Cumulants, Skewness, Kurtosis and Related Tests",
print(line) )
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: moments_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: moments
url: https://cran.r-project.org/package=moments repo: cran
md5: true
- alias: r - alias: r

View file

@ -4,24 +4,25 @@
_pkgname=nortest _pkgname=nortest
_pkgver=1.0-4 _pkgver=1.0-4
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.0.4 pkgver=${_pkgver//-/.}
pkgrel=10 pkgrel=10
pkgdesc='Tests for Normality' pkgdesc="Tests for Normality"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL)
depends=( depends=(
r r
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('a3850a048181d5d059c1e74903437569873b430c915b709808237d71fee5209f') md5sums=('de58446c1da50602a9c85dba5fe409ca')
b2sums=('3d6e81de1296529c28641feaba04ed907c662755787b076b4b87d1a6b33362a710bc354a5388065c05877967aa805ed4148f8deff1192842585ea1a772651d53')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: nortest_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: nortest
url: https://cran.r-project.org/package=nortest repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,24 +3,25 @@
_pkgname=poibin _pkgname=poibin
_pkgver=1.5 _pkgver=1.5
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.5 pkgver=${_pkgver//-/.}
pkgrel=6 pkgrel=6
pkgdesc='The Poisson Binomial Distribution' pkgdesc="The Poisson Binomial Distribution"
arch=('x86_64') arch=(x86_64)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL2)
depends=( depends=(
r r
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('3b395e001db8f4b0a56f3645c5eef645978418baa6f8f6a7d58d9acff9f6b9eb') md5sums=('ccb27983b15b6670ae4b454bea9bd0a1')
b2sums=('818f937ae9c1b013dff2b623185b7337a7a0d411c53098a178f6e65b19a1c396b2235a056d9e3510436d9ea1787b4b11189653f2a0719a1d448ed63e17d6256a')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: poibin_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: poibin
url: https://cran.r-project.org/package=poibin repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,12 +3,12 @@
_pkgname=profmem _pkgname=profmem
_pkgver=0.6.0 _pkgver=0.6.0
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=0.6.0 pkgver=${_pkgver//-/.}
pkgrel=5 pkgrel=5
pkgdesc='Simple Memory Profiling for R' pkgdesc="Simple Memory Profiling for R"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('LGPL') license=(LGPL)
depends=( depends=(
r r
) )
@ -18,14 +18,15 @@ optdepends=(
r-r.rsp r-r.rsp
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('745ca9b22a8de3cda4374be6e2454e549742a3b72ff02c8894c972178192e63d') md5sums=('f67828b0287e8ca8d244982cc6c171e4')
b2sums=('ecb07fca472cdc482f238792a3e8c0f48fcfda36534f3f2f5720d911474e7ac9bbd6ebc7ad32b2a8280534e4cf26deeeae3532e2af67a91f8cdaa0a918cdb7ce')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: profmem_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: profmem
url: https://cran.r-project.org/package=profmem repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,24 +3,25 @@
_pkgname=RCircos _pkgname=RCircos
_pkgver=1.2.2 _pkgver=1.2.2
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.2.2 pkgver=${_pkgver//-/.}
pkgrel=6 pkgrel=6
pkgdesc='Circos 2D Track Plot' pkgdesc="Circos 2D Track Plot"
arch=('any') arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('GPL') license=(GPL)
depends=( depends=(
r r
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('5bbdc3baff2d22a8922685af02b2af07541a1bcf1914abd9c166850b4c550afc') md5sums=('a1bf14fdaa2933f090ceab87803f9988')
b2sums=('bd734acd48114628f942dc6534df1ce24d940a2e68eaffd747f6701bc3bbb7b18b59890db14e18dae432240f353e9e12b6d093d738eb99320c74aff567667e27')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: RCircos_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: RCircos
url: https://cran.r-project.org/package=RCircos repo: cran
md5: true
- alias: r - alias: r

View file

@ -3,25 +3,28 @@
_pkgname=RJSONIO _pkgname=RJSONIO
_pkgver=1.3-1.9 _pkgver=1.3-1.9
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=1.3.1.9 pkgver=${_pkgver//-/.}
pkgrel=1 pkgrel=1
pkgdesc='Serialize R Objects to JSON, JavaScript Object Notation' pkgdesc="Serialize R Objects to JSON, JavaScript Object Notation"
arch=('x86_64') arch=(x86_64)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=$_pkgname"
license=('BSD') license=(BSD)
depends=( depends=(
r r
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f173034b0c28873f417ee804b9e278aedd92e76eb56c7c6d71b1c02fa1193ece') md5sums=('d42747c9c3be446a3aefa2b9fa28023c')
b2sums=('24741269513cc5259c03420879c1b926ebd6927c9a361db154853b583ac116519df4c68a9860cb165c0c58021777074b5778097bfc2b4342474a6387fe57af94')
build() { build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" mkdir build
R CMD INSTALL -l build "$_pkgname"
} }
package() { package() {
install -dm0755 "${pkgdir}/usr/lib/R/library" install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -d "$pkgdir/usr/share/licenses/$pkgname"
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
} }
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from lilaclib import * from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
for line in edit_file('PKGBUILD'): r_pre_build(_G)
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()

View file

@ -3,7 +3,8 @@ maintainers:
- github: starsareintherose - github: starsareintherose
email: kuoi@bioarchlinux.org email: kuoi@bioarchlinux.org
update_on: update_on:
- regex: RJSONIO_([\d._-]+).tar.gz - source: rpkgs
source: regex pkgname: RJSONIO
url: https://cran.r-project.org/package=RJSONIO repo: cran
md5: true
- alias: r - alias: r