r-*: use metadata checks for several packages

This commit is contained in:
Pekka Ristola 2024-04-10 17:40:07 +03:00
parent cae9d31969
commit b1aecdb6b6
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
63 changed files with 469 additions and 436 deletions

View file

@ -3,28 +3,28 @@
_pkgname=assertive.matrices
_pkgver=0.0-2
pkgname=r-${_pkgname,,}
pkgver=0.0.2
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc='Assertions to Check Properties of Matrices'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Assertions to Check Properties of Matrices"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-or-later')
depends=(
r
r-assertive.base
)
optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('3462a7a7e11d7cc24180330d48cc3067cf92eab1699b3e4813deec66d99f5e9b')
md5sums=('5602be5710fd1f9faae8ca638b490d4c')
b2sums=('a5b066662c6f08447c51b82e4f941e58836a5140eccf9a48a4c20309654ea76ee0195ea5099f0c0b75cb5dcacd5b709ec9e98acee5f99a545997fa2132c6e930')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-assertive.base
update_on:
- regex: assertive.matrices_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=assertive.matrices
- source: rpkgs
pkgname: assertive.matrices
repo: cran
md5: true
- alias: r

View file

@ -3,28 +3,28 @@
_pkgname=assertive.models
_pkgver=0.0-2
pkgname=r-${_pkgname,,}
pkgver=0.0.2
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc='Assertions to Check Properties of Models'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Assertions to Check Properties of Models"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-or-later')
depends=(
r
r-assertive.base
)
optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('b9a6d8786f352d53371dbe8c5f2f2a62a7866e30313f268e69626d5c3691c42e')
md5sums=('93672bbfaa32c656ab6956e71aa0db67')
b2sums=('f5e1f7c489ac51b7d95b74dfaa11ad59c5d3f664e5ed266bd9221d365c0b4fba6c4a61a33ac70cf14810e651faabf2fa028f8fe43e76e887a1fc82676fd0a4e7')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-assertive.base
update_on:
- regex: assertive.models_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=assertive.models
- source: rpkgs
pkgname: assertive.models
repo: cran
md5: true
- alias: r

View file

@ -3,28 +3,28 @@
_pkgname=assertive.numbers
_pkgver=0.0-2
pkgname=r-${_pkgname,,}
pkgver=0.0.2
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc='Assertions to Check Properties of Numbers'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Assertions to Check Properties of Numbers"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-or-later')
depends=(
r
r-assertive.base
)
optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('bae18c0b9e5b960a20636e127eb738ecd8a266e5fc29d8bc5ca712498cd68349')
md5sums=('94eead383227d15353b9629305c7269a')
b2sums=('a02c6c3b03bb7016fda7ede441c9e4149ccb661d9a0b163511aa1f86b33257273a07a10acadbb3f99225e8ae40cf1fbdee084d4d30f775b2b85dbb184a42ce75')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-assertive.base
update_on:
- regex: assertive.numbers_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=assertive.numbers
- source: rpkgs
pkgname: assertive.numbers
repo: cran
md5: true
- alias: r

View file

@ -3,28 +3,28 @@
_pkgname=assertive.sets
_pkgver=0.0-3
pkgname=r-${_pkgname,,}
pkgver=0.0.3
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc='Assertions to Check Properties of Sets'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Assertions to Check Properties of Sets"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-or-later')
depends=(
r
r-assertive.base
)
optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('876975a16ed911ea1ad12da284111c6eada6abfc0118585033abc0edb5801bb3')
md5sums=('060f193e9ae8c91487cf3478720d920c')
b2sums=('02c2371971155a2607283f9a5f960a8fa21f8b787f4555b33a24d9566e29106532c779920a22affae18d22a6095af045a1b33b9d4183cc314c74f2fa44d1b4c1')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-assertive.base
update_on:
- regex: assertive.sets_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=assertive.sets
- source: rpkgs
pkgname: assertive.sets
repo: cran
md5: true
- alias: r

View file

@ -3,14 +3,15 @@
_pkgname=aws
_pkgver=2.5-5
pkgname=r-${_pkgname,,}
pkgver=2.5.5
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Adaptive Weights Smoothing'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Adaptive Weights Smoothing"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
blas
lapack
r-awsmethods
r-gsl
)
@ -18,14 +19,15 @@ makedepends=(
gcc-fortran
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('b27cb2795cb59592d474cfaf49a21657a8878404da4f01c556f7323e953b4c5b')
md5sums=('3868993c01ade46eb9289dbb6193df85')
b2sums=('e82ae67d0665b15b89d0e192c410c475b359728ee5536d8a7bf00ef7e00f831db7fe1364e19a8b184a828ecdf33ea5ff9a289f4e21ef5b6f439a96326f94c049')
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

@ -6,7 +6,16 @@ repo_depends:
- r-awsmethods
- r-gsl
update_on:
- regex: aws_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=aws
- source: rpkgs
pkgname: aws
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,14 +3,13 @@
_pkgname=base64url
_pkgver=1.4
pkgname=r-${_pkgname,,}
pkgver=1.4
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc='Fast and URL-Safe Base64 Encoder and Decoder'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Fast and URL-Safe Base64 Encoder and Decoder"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
r
r-backports
)
optdepends=(
@ -23,14 +22,15 @@ optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('1d058f138660e9155ebb331d7a2561e2541ee3321b8da90f6c41fd8dcc122c58')
md5sums=('0e41f7f53213278d81e2d1fb55b34480')
b2sums=('1bde4789d2f880ac81bab2b6dee8867243a369443431d8e2d30b48c31e8c2966de33b695d407754105dcb021dcd5cb035db05fd09558a6ecbae7e0dd8c11a432')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-backports
update_on:
- regex: base64url_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=base64url
- source: rpkgs
pkgname: base64url
repo: cran
md5: true
- alias: r

View file

@ -3,14 +3,13 @@
_pkgname=cba
_pkgver=0.2-23
pkgname=r-${_pkgname,,}
pkgver=0.2.23
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc='Clustering for Business Analytics'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Clustering for Business Analytics"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
r
r-proxy
)
optdepends=(
@ -18,14 +17,15 @@ optdepends=(
r-gclus
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('d698b0001a2f14a1e8afce0960b04b5bfbe4617f3068429f81020fbbd52c54a1')
md5sums=('9033b1aa0baa6137fe64575dfbcd4ca3')
b2sums=('ba648b022b925981253e225fa1b4a18319186ec604fde5b962ca9849cb1222217b9048df57ac679cff7eedf416753e7f49d811c62cd8e7002b336c37b4644756')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-proxy
update_on:
- regex: cba_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=cba
- source: rpkgs
pkgname: cba
repo: cran
md5: true
- alias: r

View file

@ -5,14 +5,13 @@
_pkgname=checkmate
_pkgver=2.3.1
pkgname=r-${_pkgname,,}
pkgver=2.3.1
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Fast and Versatile Argument Checks'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('BSD')
pkgdesc="Fast and Versatile Argument Checks"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('BSD-3-Clause')
depends=(
r
r-backports
)
optdepends=(
@ -30,15 +29,18 @@ optdepends=(
r-tinytest
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('e7e6ba0cca400137f352a599ea29cf35a83f40a5ad26e7c4f06e6c35471884f6')
md5sums=('187badb003e010483a10dd43a084592d')
b2sums=('ad44ab0c585bb5c8247bf24bfb38fcdf2ffa1a8e5e7777bccde625b5b7510372b2c2b4ffd02133c829c4f5a23964ff29865ae9def250ec1949bb618bd8275ec0')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-backports
update_on:
- regex: checkmate_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=checkmate
- source: rpkgs
pkgname: checkmate
repo: cran
md5: true
- alias: r

View file

@ -3,20 +3,19 @@
_pkgname=datawizard
_pkgver=0.10.0
pkgname=r-${_pkgname,,}
pkgver=0.10.0
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Easy Data Wrangling'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Easy Data Wrangling and Statistical Transformations"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('MIT')
depends=(
r
r-insight
)
optdepends=(
r-bayestestr
r-boot
r-brms
r-curl
r-data.table
r-dplyr
r-effectsize
@ -45,14 +44,18 @@ optdepends=(
r-withr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('afae6cd3dcc718b125adaef7262c8381ea527d66d478993b20cd575a856e7a7c')
md5sums=('e40af4bc6c0a49b3696229b08a803b7e')
b2sums=('150fd8e2c2c878047e20a1450d55cba04f959539306494a15f86763d8056840eeab9efc9885efa5b9e326fdaad59e5afccb0f76b49dc860c0d1992530fac86f1')
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"
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-insight
update_on:
- regex: datawizard_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=datawizard
- source: rpkgs
pkgname: datawizard
repo: cran
md5: true
- alias: r

View file

@ -3,25 +3,25 @@
_pkgname=dtw
_pkgver=1.23-1
pkgname=r-${_pkgname,,}
pkgver=1.23.1
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc='Dynamic Time Warping Algorithms'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Dynamic Time Warping Algorithms"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
r-proxy
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('6ed6a3b52be673ce2617b8d48723c7c488c95aab88fe2912d7e00507838e826d')
md5sums=('6357b1e4be790f937be706a7f4b0f38b')
b2sums=('4727177a909e8cae2bb6cf68e9ac1c2f5a485577f5f7d1a54cb4c0615419df88411e573dcab9e34cf53470999f633f4d979f2c76140819dbf5dc84d0f65e3d63')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-proxy
update_on:
- regex: dtw_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=dtw
- source: rpkgs
pkgname: dtw
repo: cran
md5: true
- alias: r

View file

@ -3,37 +3,32 @@
_pkgname=e1071
_pkgver=1.7-14
pkgname=r-${_pkgname,,}
pkgver=1.7.14
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Misc Functions of the Department of Statistics, Probability Theory Group (Formerly: E1071), TU Wien'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Misc Functions of the Department of Statistics, Probability Theory Group (Formerly: E1071), TU Wien"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only OR GPL-3.0-only')
depends=(
r
r-proxy
)
optdepends=(
r-cluster
r-mass
r-matrix
r-mlbench
r-nnet
r-randomforest
r-rpart
r-slam
r-sparsem
r-xtable
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('754d97ab073acc07b909a190f87f021e31e07269c8632c53166a6c2843e65195')
md5sums=('03776052baef3f5e7cf8ccc1e493cfb2')
b2sums=('189b2e9f6b14d6dd261d08f9e6b71a705df3ebdaa8e99fc0a6f2788a01f7bf5cc9e302d44377a77616c4746102fcd624fff528ac9814f56b6af978f4f59ba922')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-proxy
update_on:
- regex: e1071_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=e1071
- source: rpkgs
pkgname: e1071
repo: cran
md5: true
- alias: r

View file

@ -3,26 +3,26 @@
_pkgname=evmix
_pkgver=2.12
pkgname=r-${_pkgname,,}
pkgver=2.12
pkgver=${_pkgver//-/.}
pkgrel=5
pkgdesc='Extreme Value Mixture Modelling, Threshold Estimation and Boundary Corrected Kernel Density Estimation'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Extreme Value Mixture Modelling, Threshold Estimation and Boundary Corrected Kernel Density Estimation"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
r
r-gsl
r-sparsem
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('6e47d53463b68ac2782201bcc6240fbc5263b2db1ac0d383062032ab135b2a0b')
md5sums=('20660d1aedd961d7c1224679ab25328c')
b2sums=('dd63aa8b37f2a4be16c760fccb52dc704059304f01ddf5df5e150eed44df6407b60efd9faf3c54bd8013feff9144e558f85d3c63b23ea221734ee0a8fc17f983')
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

@ -6,7 +6,8 @@ repo_depends:
- r-gsl
- r-sparsem
update_on:
- regex: evmix_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=evmix
- source: rpkgs
pkgname: evmix
repo: cran
md5: true
- alias: r

View file

@ -3,14 +3,13 @@
_pkgname=jmvcore
_pkgver=2.4.7
pkgname=r-${_pkgname,,}
pkgver=2.4.7
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Dependencies for the 'jamovi' Framework"
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
r-base64enc
r-jsonlite
r-r6
@ -27,14 +26,15 @@ optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('6a5c520ea8d94fbd4863415323a5dc6566579a29d7cde4d838cec13973d9ecdf')
md5sums=('f27afb95f291240751e3f530c16b6e28')
b2sums=('0de0dc4fe2957233ba8f58b60aa59f6d2addaa45b0399d010fe557abd5d23051c474d6c9a415085f3652ccb1fec171ef669e27e9533d87fe8b2e077ea773a011')
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,15 +1,16 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
email: su975853527@gmail.com
- github: sukanka
email: su975853527@gmail.com
repo_depends:
- r-base64enc
- r-jsonlite
- r-r6
- r-rlang
- r-stringi
- r-base64enc
- r-jsonlite
- r-r6
- r-rlang
- r-stringi
update_on:
- regex: jmvcore_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=jmvcore
- alias: r
- source: rpkgs
pkgname: jmvcore
repo: cran
md5: true
- alias: r

View file

@ -3,25 +3,25 @@
_pkgname=longitudinal
_pkgver=1.1.13
pkgname=r-${_pkgname,,}
pkgver=1.1.13
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc='Analysis of Multiple Time Course Data'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Analysis of Multiple Time Course Data"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-or-later')
depends=(
r
r-corpcor
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('57f04a0f387c1cc30d2feb945dc3ed35d2a304d94d21d3bc2cac8c92571fdc10')
md5sums=('ac7842e3fa9e4f5a5a1ce49c66a20317')
b2sums=('167bbfce334bdb1dab22faa15ae20ff178e7ceaf955e0455cfe7dc39d64801baebe407a10b718590778334f9c8f7a15fb0d2233a1c52a65a0a396082420419af')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-corpcor
update_on:
- regex: longitudinal_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=longitudinal
- source: rpkgs
pkgname: longitudinal
repo: cran
md5: true
- alias: r

View file

@ -3,28 +3,28 @@
_pkgname=lsa
_pkgver=0.73.3
pkgname=r-${_pkgname,,}
pkgver=0.73.3
pkgver=${_pkgver//-/.}
pkgrel=3
pkgdesc='Latent Semantic Analysis'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Latent Semantic Analysis"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
r-snowballc
)
optdepends=(
r-tm
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f07f1159f215501495d7a077911e7ed2ac61e1705899f3be3a5cf9012778619a')
md5sums=('205b9add99f5a37f1cf93567ec73c5e0')
b2sums=('3ee2effb3494a786fe8fafc10f609b449f4dfd277eb303eab2d31bbc33745ac5bd95f086d557391403486ecfa8e2bd80cc956cc3dd192c0b0dbb39010b509bd2')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-snowballc
update_on:
- regex: lsa_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=lsa
- source: rpkgs
pkgname: lsa
repo: cran
md5: true
- alias: r

View file

@ -3,51 +3,30 @@
_pkgname=MuMIn
_pkgver=1.47.5
pkgname=r-${_pkgname,,}
pkgver=1.47.5
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc='Multi-Model Inference'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Multi-Model Inference"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
r
r-insight
)
optdepends=(
r-aod
r-aods3
r-betareg
r-caper
r-coxme
r-cplm
r-gamlss
r-gamm4
r-gee
r-geem
r-geepack
r-glmmml
r-lme4
r-logistf
r-mass
r-mcmcglmm
r-mgcv
r-nnet
r-ordinal
r-pscl
r-spatialreg
r-splm
r-survival
r-unmarked
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('6ff3554d8a503f29b1bd9e94dc2d4e1a9bcde5cd9faa5f8473b0559aced20a77')
md5sums=('e733ab93b8e3cff6e827c04634f54976')
b2sums=('82ca98c89b4efcd8d6b3c57feef7f9e343936f30d4a640c89057c7bd93638ac79b2aef8e8ba7c4718cd1c96e1409f1230795229381bd040fb6f196b16023b5cc')
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

@ -2,10 +2,11 @@ build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
update_on:
- regex: MuMIn_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=MuMIn
- alias: r
repo_depends:
- r-insight
update_on:
- source: rpkgs
pkgname: MuMIn
repo: cran
md5: true
- alias: r

View file

@ -3,14 +3,13 @@
_pkgname=munsell
_pkgver=0.5.1
pkgname=r-${_pkgname,,}
pkgver=0.5.1
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Utilities for Using Munsell Colours'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
pkgdesc="Utilities for Using Munsell Colours"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('MIT')
depends=(
r
r-colorspace
)
optdepends=(
@ -18,15 +17,18 @@ optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('03a2fd9ac40766cded96dfe33b143d872d0aaa262a25482ce19161ca959429a6')
md5sums=('16b9314466b17a8b694f331faa65eff8')
b2sums=('e1b00e414f5868e43f2f81ac81042aca0fc0e972e4fa56a7fd34857bf1f97a6ebc5beabe2ea95c0642652d9006023a65962fe75c728d3508908e6d32d4b8e8ff')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-colorspace
update_on:
- regex: munsell_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=munsell
- source: rpkgs
pkgname: munsell
repo: cran
md5: true
- alias: r

View file

@ -3,25 +3,25 @@
_pkgname=Rook
_pkgver=1.2
pkgname=r-${_pkgname,,}
pkgver=1.2
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc='Rook - a web server interface for R'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="HTTP Web Server for R"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
r
r-brew
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('c79ae4b5164daffd4e7cf74bd23c1b08a3948bf343dfe9570d57f39cbf8e5f62')
md5sums=('e78c29afb2968412165d8bc45f13a452')
b2sums=('d31ded93a6ecf04e44259e8deb6191440a30baa46e7985e6261f62550a72fcdc9aba39df5ae0d9a9f4a8300aae18ac1630eaf4c2c006198e4dab1b28427967b4')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-brew
update_on:
- regex: Rook_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=Rook
- source: rpkgs
pkgname: Rook
repo: cran
md5: true
- alias: r

View file

@ -3,25 +3,25 @@
_pkgname=sagenhaft
_pkgver=1.72.0
pkgname=r-${_pkgname,,}
pkgver=1.72.0
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Collection of functions for reading and comparing SAGE libraries'
arch=('any')
url="https://bioconductor.org/packages/${_pkgname}"
license=('GPL')
pkgdesc="Collection of functions for reading and comparing SAGE libraries"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
r-sparsem
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('5b833759e7997e0218108bfd3e6fb4a540d13e630a7b8012358371c4a5588c05')
md5sums=('4f27450a0e98b4f0f7396a784eb0e4e3')
b2sums=('43f4fb5d8911aa198667ced7508948b2bb9053f51b28f9b4db6da6d719995a554adda8b0ba5bf64d782408d369da9892d3e918f1ba8539acdef469acf414db11')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-sparsem
update_on:
- regex: sagenhaft_([\d._-]+).tar.gz
source: regex
url: https://bioconductor.org/packages/sagenhaft
- source: rpkgs
pkgname: sagenhaft
repo: bioc
md5: true
- alias: r

View file

@ -3,14 +3,13 @@
_pkgname=sendmailR
_pkgver=1.4-0
pkgname=r-${_pkgname,,}
pkgver=1.4.0
pkgver=${_pkgver//-/.}
pkgrel=4
pkgdesc='send email using R'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Send Email Using R"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
r
r-base64enc
)
optdepends=(
@ -20,14 +19,15 @@ optdepends=(
r-rmarkdown
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('5b8b91fc13f6b07b9fc5a2cf7591cf760fad47c5ea17d87a2891898c506454ad')
md5sums=('b8a5eccd3a787dad249d81e192d46c05')
b2sums=('5b47be00752b87fe17f3bf701b8606792d9360ec55661973f188536657f28989bdad84a8eca8f68ec767abb2406ff085d9b0368e8928e6947b4e54cb4a517dd5')
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

@ -5,7 +5,8 @@ maintainers:
repo_depends:
- r-base64enc
update_on:
- regex: sendmailR_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=sendmailR
- source: rpkgs
pkgname: sendmailR
repo: cran
md5: true
- alias: r

View file

@ -3,14 +3,13 @@
_pkgname=wheatmap
_pkgver=0.2.0
pkgname=r-${_pkgname,,}
pkgver=0.2.0
pkgver=${_pkgver//-/.}
pkgrel=5
pkgdesc='Incrementally Build Complex Plots using Natural Semantics'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Incrementally Build Complex Plots using Natural Semantics"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
r
r-colorspace
r-rcolorbrewer
)
@ -19,14 +18,15 @@ optdepends=(
r-rmarkdown
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('b76dff6f668874d08acb5f6d3849288645470ab2e3be34b6eabda065336d9118')
md5sums=('93f820bace140900b65cb8c128eb4b6e')
b2sums=('7b2ee688ba41121a5dadadcc674c62d6d7769f1e2cd19237614d9efd431bb595c53313b8202ecaf6182be40a112b73b5d86bdbbd959b7de2bd9a626350e8e7df')
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

@ -6,7 +6,8 @@ repo_depends:
- r-colorspace
- r-rcolorbrewer
update_on:
- regex: wheatmap_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=wheatmap
- source: rpkgs
pkgname: wheatmap
repo: cran
md5: true
- alias: r