r-*: use metadata checks for several packages

This commit is contained in:
Pekka Ristola 2024-03-07 21:59:18 +02:00
parent c6b96e0bdc
commit 911ce7febb
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
39 changed files with 317 additions and 264 deletions

View file

@ -3,36 +3,39 @@
_pkgname=BAS
_pkgver=1.7.1
pkgname=r-${_pkgname,,}
pkgver=1.7.1
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Bayesian Variable Selection and Model Averaging using Bayesian Adaptive Sampling'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Bayesian Variable Selection and Model Averaging using Bayesian Adaptive Sampling"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-or-later')
depends=(
blas
lapack
r
)
optdepends=(
r-covr
r-dplyr
r-faraway
r-ggally
r-ggplot2
r-glmbb
r-knitr
r-mass
r-rmarkdown
r-roxygen2
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('28bfbb71ce9e4d76e95a25ab012c9aba1c2c842d207bdad4c935524179cae6c8')
md5sums=('1c325a61bcf14763745821d716cc844d')
b2sums=('cfbe2f86f741dd71ac2ec200c77c212373f62948cf818598d8d4ba0406ded1d737294fc2dc8e45e208af09f68064b8bc7165e7c8d3264dde99bbc3495ccbbac8')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -1,9 +1,18 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
- github: sukanka
email: su975853527@gmail.com
update_on:
- regex: BAS_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=BAS
- alias: r
- source: rpkgs
pkgname: BAS
repo: cran
md5: true
- alias: r
- source: alpmfiles
pkgname: blas
filename: usr/lib/libblas\.so\.([^.]+)
repo: extra
- source: alpmfiles
pkgname: lapack
filename: usr/lib/liblapack\.so\.([^.]+)
repo: extra

View file

@ -3,24 +3,25 @@
_pkgname=bezier
_pkgver=1.1.2
pkgname=r-${_pkgname,,}
pkgver=1.1.2
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc='Toolkit for Bezier Curves and Splines'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Toolkit for Bezier Curves and Splines"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('262ff2d4f81a8f4b5ba3a5347b906c346f29384bb5b9a0781f2741b4910885ef')
md5sums=('ff007027f4c27591f9b47bf43be8aaa1')
b2sums=('73ca6708c6a9132bc70bbb44f121ed461e23811ad8c654fd69f68be9bfdcdaa76aa96d8dde77eae3238cffbf2f0ed75183001cc14b43bd94b17b94b7b6b02d20')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

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

View file

@ -3,24 +3,25 @@
_pkgname=clv
_pkgver=0.3-2.4
pkgname=r-${_pkgname,,}
pkgver=0.3.2.4
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Cluster Validation Techniques'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Cluster Validation Techniques"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('baee506aa15cec3a13ac97f1280c7451fba4eb05506417e59cf06af04d2471fd')
md5sums=('bad3bb2af579830b283b0d8b5fa58a6f')
b2sums=('d2bd5de2f2087c5e7d54c245e9db9cd7a30ed872031903ed250ac599387c6f2e48e4c5734f4a40360572d6dae2daf81c2223cd7e1242180fdbefe3e35baa4258')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

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

View file

@ -3,27 +3,25 @@
_pkgname=desirability
_pkgver=2.1
pkgname=r-${_pkgname,,}
pkgver=2.1
pkgver=${_pkgver//-/.}
pkgrel=7
pkgdesc='Function Optimization and Ranking via Desirability Functions'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Function Optimization and Ranking via Desirability Functions"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
r
)
optdepends=(
r-lattice
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('b33af2ce184532b819f21a959af0b752991b764ef301051873141865eeee8f24')
md5sums=('6597122db76d97f04c66556d66bbd2d5')
b2sums=('63810972528557734e57bdf3a5c2db98bf8cbcb95c419b12ef34c3cf0243c13ad64f654789c96c33f2ec5345d5df6da3974a2ef639d0f589ef064d3ce96fda37')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -1,9 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
- github: sukanka
email: su975853527@gmail.com
update_on:
- regex: desirability_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=desirability
- alias: r
- source: rpkgs
pkgname: desirability
repo: cran
md5: true
- alias: r

View file

@ -3,24 +3,25 @@
_pkgname=FAdist
_pkgver=2.4
pkgname=r-${_pkgname,,}
pkgver=2.4
pkgver=${_pkgver//-/.}
pkgrel=7
pkgdesc='Distributions that are Sometimes Used in Hydrology'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Distributions that are Sometimes Used in Hydrology"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('38e5293e7011bf4cbced147eb5bd89adda1f10a0c7121ca5089dcee7504cdc98')
md5sums=('a7f13561055d26f9c11da8a494f3caca')
b2sums=('3a17d36346e87617b3c4b6e5c4cf0f092e18af0c87d36328c39487b194a05d657ca991c8e44cccc84434f7eb8760c11a0369a2d480a0df09d032546aeea640e5')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -1,9 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
- github: sukanka
email: su975853527@gmail.com
update_on:
- regex: FAdist_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=FAdist
- alias: r
- source: rpkgs
pkgname: FAdist
repo: cran
md5: true
- alias: r

View file

@ -3,30 +3,31 @@
_pkgname=hmeasure
_pkgver=1.0-2
pkgname=r-${_pkgname,,}
pkgver=1.0.2
pkgver=${_pkgver//-/.}
pkgrel=7
pkgdesc='The H-Measure and Other Scalar Classification Performance Metrics'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
pkgdesc="The H-Measure and Other Scalar Classification Performance Metrics"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('MIT')
depends=(
r
)
optdepends=(
r-class
r-mass
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('1c56689e76a72bbef60dab92b23e87908793ce68afdaa0546c6d8a51bca59650')
md5sums=('f9e5a09f8faea5967d0350639b5fdb6a')
b2sums=('7a1d57363246d70115d7e6ed04fea61f43ada8f7138945c57f2fc3e8b18736291f96693b581456f4c4c384850be47704399f02041249f6115373d2ad50b30424')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
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}"
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -1,9 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
- github: sukanka
email: su975853527@gmail.com
update_on:
- regex: hmeasure_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=hmeasure
- alias: r
- source: rpkgs
pkgname: hmeasure
repo: cran
md5: true
- alias: r

View file

@ -3,25 +3,28 @@
_pkgname=KOdata
_pkgver=1.28.0
pkgname=r-${_pkgname,,}
pkgver=1.28.0
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='LINCS Knock-Out Data Package'
arch=('any')
url="https://bioconductor.org/packages/${_pkgname}"
pkgdesc="LINCS Knock-Out Data Package"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('MIT')
depends=(
r
)
source=("https://bioconductor.org/packages/release/data/experiment/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('8a4aa27165cf43268fa9e9a1aed2cf18659558459d130d8c864ab0f3ddd6d4b5')
md5sums=('40e099053eae889ad66256a94427ac54')
b2sums=('ecd7c3597cd1e81dfbc1782b9ab4d6f5e898491c5d3de180bf2312c6e3ccd204dd3582a75abd261e13693a90fafaae8ab083a7618d15dc3d0d643886c52effd8')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
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}"
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

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

View file

@ -3,27 +3,29 @@
_pkgname=logspline
_pkgver=2.1.21
pkgname=r-${_pkgname,,}
pkgver=2.1.21
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Routines for Logspline Density Estimation'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('Apache')
pkgdesc="Routines for Logspline Density Estimation"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('Apache-2.0')
depends=(
blas
r
)
makedepends=(
gcc-fortran
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('8e3a3cf11f3261f010092aa657d938a69b604818afc123151c7d3e24e0980b77')
md5sums=('58281b79aef9dfb57e8e6a36effeb71a')
b2sums=('96235b760a5885d1d963a23a6a05bf97a60be7ca2d20f483295480cd63b8b928877a7478e857019c85df8f259155a9bacb4e14958a49db812c0e9aafa6fa60a0')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -3,7 +3,12 @@ maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
update_on:
- regex: logspline_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=logspline
- source: rpkgs
pkgname: logspline
repo: cran
md5: true
- alias: r
- source: alpmfiles
pkgname: blas
filename: usr/lib/libblas\.so\.([^.]+)
repo: extra

View file

@ -3,12 +3,12 @@
_pkgname=mdscore
_pkgver=0.1-3
pkgname=r-${_pkgname,,}
pkgver=0.1.3
pkgver=${_pkgver//-/.}
pkgrel=11
pkgdesc='Improved Score Tests for Generalized Linear Models'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Improved Score Tests for Generalized Linear Models"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
)
@ -16,14 +16,15 @@ optdepends=(
r-sleuth3
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('12f5841258f7d9bdc8074244bfb76482df0e480f09835d666c90a5364d2e9481')
md5sums=('754815ad4ec718e3e9555d82b38d68d4')
b2sums=('87ad9cc8a5d17d0e34bf3f1f74771ab16a33b0319648d9d80d53565546316aa61572f279f74f54d49c1bd13de20f91967c3acfb165e138132d6cf5728483821b')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -1,9 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
- github: sukanka
email: su975853527@gmail.com
update_on:
- regex: mdscore_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=mdscore
- alias: r
- source: rpkgs
pkgname: mdscore
repo: cran
md5: true
- alias: r

View file

@ -3,12 +3,12 @@
_pkgname=mle.tools
_pkgver=1.0.0
pkgname=r-${_pkgname,,}
pkgver=1.0.0
pkgver=${_pkgver//-/.}
pkgrel=9
pkgdesc='Expected/Observed Fisher Information and Bias-Corrected Maximum Likelihood Estimate(s)'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Expected/Observed Fisher Information and Bias-Corrected Maximum Likelihood Estimate(s)"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
)
@ -16,14 +16,15 @@ optdepends=(
r-fitdistrplus
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('2bbf68738d58636bd35775852f13275f225bea2cb816807cca3f0c17836cd60b')
md5sums=('ea907b283c4a37a3734f04e389780b32')
b2sums=('9624f979da3262a259fe5034a93184378e3e820f9ae61d83d9094025f07632539ebb43533b5d8dd6d41fb9502cb21933a0c5a4be6e891b658812960101bc5809')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -1,9 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
- github: sukanka
email: su975853527@gmail.com
update_on:
- regex: mle.tools_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=mle.tools
- alias: r
- source: rpkgs
pkgname: mle.tools
repo: cran
md5: true
- alias: r

View file

@ -3,12 +3,12 @@
_pkgname=praznik
_pkgver=11.0.0
pkgname=r-${_pkgname,,}
pkgver=11.0.0
pkgver=${_pkgver//-/.}
pkgrel=7
pkgdesc='Tools for Information-Based Feature Selection and Scoring'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Tools for Information-Based Feature Selection and Scoring"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
r
)
@ -16,14 +16,15 @@ optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('c6d6ff8ad0c37dbc25d42dcf4c35dd0fdd6bff445176a71e7346e55974b165a1')
md5sums=('52453daecb6fcf6cae694d00cd86006f')
b2sums=('0c38ab05d2472ff91a4e3e9e185776d995b9d563ddff813d897c53165422c1f92d84d834ee1e94f4c9e9e1785f57ce16d0f3d7576c8571544b26f54601f3271e')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

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

View file

@ -3,12 +3,12 @@
_pkgname=qcc
_pkgver=2.7
pkgname=r-${_pkgname,,}
pkgver=2.7
pkgver=${_pkgver//-/.}
pkgrel=9
pkgdesc='Quality Control Charts'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Quality Control Charts"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
)
@ -17,14 +17,15 @@ optdepends=(
r-rmarkdown
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('ff139a046e6b139ac25537b69be24e0ff32d6a39db6c941d1d02b4710f378251')
md5sums=('e16783e0accb474c542a0b3d07352431')
b2sums=('34564db3c476230fdf58ba3364b82ede7a143b51a1fdd3dd57ffd69d9a28225efdf0cbd3e620d6d8b6db5e1b0c659316148b97a280f8c4683ede1b21709bb5d2')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -1,9 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
- github: sukanka
email: su975853527@gmail.com
update_on:
- regex: qcc_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=qcc
- alias: r
- source: rpkgs
pkgname: qcc
repo: cran
md5: true
- alias: r

View file

@ -3,12 +3,12 @@
_pkgname=Rspc
_pkgver=1.2.2
pkgname=r-${_pkgname,,}
pkgver=1.2.2
pkgver=${_pkgver//-/.}
pkgrel=7
pkgdesc='Nelson Rules for Control Charts'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Nelson Rules for Control Charts"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
r
)
@ -16,14 +16,15 @@ optdepends=(
r-knitr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('9e78d619e09bf1fb210dab1cd6cc424ac537706a91b0168a763c0100edc5dfb2')
md5sums=('c300edbfe9ca39424c356bdd48e30432')
b2sums=('ffef7ae48fb8740e6cdde8b81e12297f36289f74f3f97d0f38861def71624b5b358bdbb50cda36fb64199484b950b71ef1c783f6d44b97ebb1419e041172c487')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
install -d "$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
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():
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('-', '.'))
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

View file

@ -1,9 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
- github: sukanka
email: su975853527@gmail.com
update_on:
- regex: Rspc_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=Rspc
- alias: r
- source: rpkgs
pkgname: Rspc
repo: cran
md5: true
- alias: r