r-*: use metadata checks for several packages

This commit is contained in:
Pekka Ristola 2024-02-19 18:23:56 +02:00
parent 6a9e616eb4
commit f5a2437d2d
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
48 changed files with 368 additions and 305 deletions

View file

@ -3,33 +3,34 @@
_pkgname=blockmodeling
_pkgver=1.1.5
pkgname=r-${_pkgname,,}
pkgver=1.1.5
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Generalized and Classical Blockmodeling of Valued Networks'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Generalized and Classical Blockmodeling of Valued Networks"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
)
makedepends=(
gcc-fortran
)
optdepends=(
r-doparallel
r-dorng
r-foreach
r-sna
)
makedepends=(
gcc-fortran
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('3b6f910078c29b801651e3a686112e41e456c517e1b99fcda11bb12681bb1503')
md5sums=('58c7580702e7f216874c71bcb94cbdce')
b2sums=('f0dec0f1401d8c97e194fd6452955e3285948c3bfd3a20fd2e7a62b5286f5ec3217e3a4f707c844395203ded18d32cbfc2e012482ebba08e36d0c8322f4f17ae')
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: blockmodeling_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=blockmodeling
- source: rpkgs
pkgname: blockmodeling
repo: cran
md5: true
- alias: r

View file

@ -3,24 +3,25 @@
_pkgname=CDFt
_pkgver=1.2
pkgname=r-${_pkgname,,}
pkgver=1.2
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc='Downscaling and Bias Correction via Non-Parametric CDF-Transform'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Downscaling and Bias Correction via Non-Parametric CDF-Transform"
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=('c1a88b31fb2ad2e174bdfcd1ab980ee5581920f3a555e5b4d5ea25b886535da5')
md5sums=('22c933028acbd9614ee76885c6cab648')
b2sums=('0f97abba49412ff04bd86308107e62939225d4384c359ab03ec79ba0a7475425c0f776d3ce0d195036a07bcd70a3eb744dbd67196a399d661c33d7d8aefc5d86')
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: CDFt_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=CDFt
- source: rpkgs
pkgname: CDFt
repo: cran
md5: true
- alias: r

View file

@ -3,24 +3,25 @@
_pkgname=cMap2data
_pkgver=1.38.0
pkgname=r-${_pkgname,,}
pkgver=1.38.0
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Connectivity Map (version 2) Data'
arch=('any')
url="https://bioconductor.org/packages/${_pkgname}"
license=('GPL')
pkgdesc="Connectivity Map (version 2) Data"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r
)
source=("https://bioconductor.org/packages/release/data/experiment/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('8d3b9a65860f5efad950e8619c02d47c173f715b5209601c282bf0815fda5eb4')
md5sums=('c5ecbc59a690426c6def7feb720e1a7d')
b2sums=('c792348e6fd3dd4b879708af3e3c9a4206fc5055b39f7c8dffe5ca6f6b78bf2e134e54745666703d3c38199d8d8d815ac8c830ffcd9ed03a34bebe9932a9483c')
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: cMap2data_([\d._-]+).tar.gz
source: regex
url: https://bioconductor.org/packages/cMap2data
- source: rpkgs
pkgname: cMap2data
repo: bioc-data-experiment
md5: true
- alias: r

View file

@ -3,28 +3,25 @@
_pkgname=conf.design
_pkgver=2.0.0
pkgname=r-${_pkgname,,}
pkgver=2.0.0
pkgver=${_pkgver//-/.}
pkgrel=11
pkgdesc='Construction of factorial designs'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Construction of factorial designs"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
r
)
optdepends=(
r-stats
r-utils
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('a178552dc68d98f9ffee5ca78379da3d58158ea0818037bb293d603925ed6d1b')
md5sums=('b2c9aa7afe463356b9af6bb10fd1b2e6')
b2sums=('8565bb16d68f5a9b590d64e42b17e20351d19a9e019b528afaa3b8adbb2651afe16168f70141ea1e66a691cac3840227800b99d0ff6adcc42f0088103721a5b7')
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: conf.design_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=conf.design
- alias: r
- source: rpkgs
pkgname: conf.design
repo: cran
md5: true
- alias: r

View file

@ -3,19 +3,18 @@
_pkgname=corrgram
_pkgver=1.14
pkgname=r-${_pkgname,,}
pkgver=1.14
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc='Plot a Correlogram'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Plot a Correlogram"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
r
)
optdepends=(
r-gridbase
r-knitr
r-matrix
r-psych
r-rmarkdown
r-seriation
@ -23,14 +22,15 @@ optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('619f72c3319f6d10f30da032e8d3fab5a5d4d9581a715166efbfb67c15dfb089')
md5sums=('a8bf8378b6eecabc911e4d7ca35c573c')
b2sums=('a1c1c94cf3c445226674bc9242924eb68a913cb0203236d46986890f41347e0ca27419e8b744a865e1505e4ae79a2bcf2d5b63b6919baee22cbf0f9093be5c82')
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: corrgram_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=corrgram
- source: rpkgs
pkgname: corrgram
repo: cran
md5: true
- alias: r

View file

@ -3,12 +3,12 @@
_pkgname=countrycode
_pkgver=1.5.0
pkgname=r-${_pkgname,,}
pkgver=1.5.0
pkgver=${_pkgver//-/.}
pkgrel=3
pkgdesc='Convert Country Names and Country Codes'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Convert Country Names and Country Codes"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
r
)
@ -19,14 +19,15 @@ optdepends=(
r-utf8
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('fc775dfd5dc33a0774f106933e1f22c00ae617acaea1c3a0dc6dde1b6a43ac0c')
md5sums=('e4ff5a21b823cf69b603aafe23052470')
b2sums=('1c81d263f8fcaf46d539027bf047ac94aa908c42d46a507de1a3d9cd3cb7f6a44726a4028bb509813a33f27449a2815ec711b300993bc423d2fbfb8b1d44df5f')
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: countrycode_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=countrycode
- source: rpkgs
pkgname: countrycode
repo: cran
md5: true
- alias: r

View file

@ -3,24 +3,25 @@
_pkgname=DrugVsDiseasedata
_pkgver=1.38.0
pkgname=r-${_pkgname,,}
pkgver=1.38.0
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Drug versus Disease Data'
arch=('any')
url="https://bioconductor.org/packages/${_pkgname}"
license=('GPL')
pkgdesc="Drug versus Disease Data"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r
)
source=("https://bioconductor.org/packages/release/data/experiment/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('b1d9719fe34b792236ac2b378362712e37f3ac00bc40ab456669a745a3d7e60d')
md5sums=('40b800653aab57e822a18afe5bd1a2e7')
b2sums=('08af6fa392a729127a2df520a992baf0808bcfeff8b9bbc8eb2d1db8c429b08a5f4a7a5d5eca9dc74c5a99ec6d687778b370fd43b7b7ddcc979af426e72a1bc6')
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: DrugVsDiseasedata_([\d._-]+).tar.gz
source: regex
url: https://bioconductor.org/packages/DrugVsDiseasedata
- source: rpkgs
pkgname: DrugVsDiseasedata
repo: bioc-data-experiment
md5: true
- alias: r

View file

@ -3,12 +3,12 @@
_pkgname=EGSEAdata
_pkgver=1.30.0
pkgname=r-${_pkgname,,}
pkgver=1.30.0
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Gene set collections for the EGSEA package'
arch=('any')
url="https://bioconductor.org/packages/${_pkgname}"
license=('custom')
pkgdesc="Gene set collections for the EGSEA package"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('CC-BY-ND-4.0')
depends=(
r
)
@ -16,15 +16,15 @@ optdepends=(
r-egsea
)
source=("https://bioconductor.org/packages/release/data/experiment/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('913ed4debf4ced5c7a5301e22bef10fd80c06b559f15609c748d85bf390e4854')
md5sums=('838b30ae6caf7c3cbb854e0404b52cda')
b2sums=('77dd8b1316b1139b3d4f5815aa31a55f9634fe39cbab027ea677394d2e12419e3a38b6b11cfa5c4474a608d7993fd7402c12a3fd4a028ed051daeb75bd01fffb')
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"
}
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +1,16 @@
#!/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,
expect_license = "file LICENSE",
)
def post_build():
git_pkgbuild_commit()

View file

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

View file

@ -3,24 +3,28 @@
_pkgname=emdist
_pkgver=0.3-3
pkgname=r-${_pkgname,,}
pkgver=0.3.3
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Earth Mover's Distance"
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('MIT')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('b78e0c5dd49259f4389682b34fa2ebeb03b798a41183f9c31d4dc92b82f9b64a')
md5sums=('184e126bb29ed5a079b1c8ea11402770')
b2sums=('6e8e2b0771aaf2eb1f470ee49e423176f4fe9c8020dc0803063e32cb9d4e19597f4047d8f4a231d9747b601a0520150c43af91fdde713d9f6c73091afdf7a11d')
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

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

View file

@ -3,11 +3,11 @@
_pkgname=EmpiricalBrownsMethod
_pkgver=1.30.0
pkgname=r-${_pkgname,,}
pkgver=1.30.0
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Uses Brown's method to combine p-values from dependent tests"
arch=('any')
url="https://bioconductor.org/packages/${_pkgname}"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('MIT')
depends=(
r
@ -19,15 +19,18 @@ optdepends=(
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('ef6c792f67abc45ca4ad4bf3bc1e7c3dfa7dd4368a33ddc3ae32635243043a0f')
md5sums=('cde2165928019f9c13982d640a1303c5')
b2sums=('0aee514c5fad85792f9de62e9338c4a7df042d02b47ae95fa4a5a00d5b35935dc47891ec4fb47f0e86eaaef634aca7ed77bca4d1e5db85a83da61950ab782980')
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: EmpiricalBrownsMethod_([\d._-]+).tar.gz
source: regex
url: https://bioconductor.org/packages/EmpiricalBrownsMethod
- source: rpkgs
pkgname: EmpiricalBrownsMethod
repo: bioc
md5: true
- alias: r

View file

@ -3,24 +3,25 @@
_pkgname=estimability
_pkgver=1.4.1
pkgname=r-${_pkgname,,}
pkgver=1.4.1
pkgver=${_pkgver//-/.}
pkgrel=5
pkgdesc='Tools for Assessing Estimability of Linear Predictions'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Tools for Assessing Estimability of Linear Predictions"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-or-later')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('c65aaf1e452f3947013d3ce05ae674d48492081f615a942592dc91db780f1124')
md5sums=('ca07f605e63b51168a096ea3b8e5f545')
b2sums=('978d4425003ad837def4bfe4da5c4c81dfd556bb5c0614c655af7a25ea04adb25728af30e8661ba88d628c0b040562118ca40fde2d2256989ab996787ccc4d68')
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: estimability_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=estimability
- source: rpkgs
pkgname: estimability
repo: cran
md5: true
- alias: r

View file

@ -1,31 +1,31 @@
# system requirements: fftw3 (libfftw3-dev (deb), or fftw-devel (rpm))
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=fftwtools
_pkgver=0.9-11
pkgname=r-${_pkgname,,}
pkgver=0.9.11
pkgver=${_pkgver//-/.}
pkgrel=7
pkgdesc="Wrapper for 'FFTW3' Includes: One-Dimensional, Two-Dimensional, Three-Dimensional, and Multivariate Transforms"
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r
fftw
r
)
optdepends=(
r-fftw
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f1f0c9a9086c7b2f72c5fb0334717cc917213a004eaef8448eab4940c9852c7f')
md5sums=('00731a7e2b23d9f9cff0953b5aeae5f5')
b2sums=('6bf281d4ed8c92a1c356628cc8b0ee6f25b63cfbbebeae5b5d59a5659d6c9ab405c3b6da40903c693e8a5dbcacd1e17e7eab3c1a9b8704205d78380547a9d615')
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,16 @@
#!/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,
expect_systemrequirements = "fftw3 (libfftw3-dev (deb), or fftw-devel (rpm))",
)
def post_build():
git_pkgbuild_commit()

View file

@ -3,7 +3,13 @@ maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
update_on:
- regex: fftwtools_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=fftwtools
- source: rpkgs
pkgname: fftwtools
repo: cran
md5: true
- alias: r
- source: alpm
alpm: fftw
repo: extra
provided: libfftw3.so
strip_release: true

View file

@ -1,28 +1,28 @@
# system requirements: libjpeg
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=jpeg
_pkgver=0.1-10
pkgname=r-${_pkgname,,}
pkgver=0.1.10
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc='Read and write JPEG images'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Read and write JPEG images"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only OR GPL-3.0-only')
depends=(
libjpeg-turbo
r
libjpeg
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('c8d9f609c3088f91ec4853d6cc0e66511038a465811dea79ca6a0c09519178ca')
md5sums=('a8b2893917c1766343f0876459784435')
b2sums=('8414ead6cfb51821fb129cf0d150bce257cde9dda3d3cc696ed2bbf17f0cf94a8b566619f171e3596b527d8f62378a323df026745c2ddf4c9b95b4391bdeb0e1')
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,16 @@
#!/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,
expect_systemrequirements = "libjpeg",
)
def post_build():
git_pkgbuild_commit()

View file

@ -3,7 +3,13 @@ maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
update_on:
- regex: jpeg_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=jpeg
- source: rpkgs
pkgname: jpeg
repo: cran
md5: true
- alias: r
- source: alpm
alpm: libjpeg-turbo
repo: extra
provided: libjpeg.so
strip_release: true

View file

@ -3,24 +3,25 @@
_pkgname=LSD
_pkgver=4.1-0
pkgname=r-${_pkgname,,}
pkgver=4.1.0
pkgver=${_pkgver//-/.}
pkgrel=8
pkgdesc='Lots of Superior Depictions'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
pkgdesc="Lots of Superior Depictions"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only OR GPL-3.0-only')
depends=(
r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('7553ce29985045849479f2a193cb95bda8172c9d515641e8d9c37db8186deb9e')
md5sums=('aac68db34a6deb2d4e788749a54a9594')
b2sums=('c778fd41267bf27cadafa64592168063453589ab86abef786fde3e05f4e92120674e83e741a0f899eb2f2a7d6fc43c11d164289a95eda7b1a0acd02fb42955aa')
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: LSD_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=LSD
- source: rpkgs
pkgname: LSD
repo: cran
md5: true
- alias: r

View file

@ -5,12 +5,12 @@
_pkgname=mathjaxr
_pkgver=1.6-0
pkgname=r-${_pkgname,,}
pkgver=1.6.0
pkgver=${_pkgver//-/.}
pkgrel=9
pkgdesc="Using 'Mathjax' in Rd Files"
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
r
)
@ -18,14 +18,15 @@ optdepends=(
r-js
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('ecc47607111b788d84789459af7f4f9102719f98640b7a23bd5a4eb1a6d3c179')
md5sums=('aa2b8ff5e046b8681d3f0fdcdb046880')
b2sums=('39577dcf01ed3cfb3a00b40cbd7fb3c7597ed180974afc1842cc56f82136fe62e3ead8f93f7c92b3755573aa24c6c224887c48bfe145a99566e0ca6588f1faf3')
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,16 @@
#!/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,
expect_needscompilation = True,
)
def post_build():
git_pkgbuild_commit()

View file

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

View file

@ -3,38 +3,35 @@
_pkgname=TeachingDemos
_pkgver=2.13
pkgname=r-${_pkgname,,}
pkgver=2.13
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='Demonstrations for Teaching and Learning'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('Artistic2.0')
pkgdesc="Demonstrations for Teaching and Learning"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('Artistic-2.0')
depends=(
r
)
optdepends=(
r-ggplot2
r-lattice
r-logspline
r-manipulate
r-maptools
r-mass
r-png
r-r2wd
r-rgl
r-tcltk
r-sf
r-spdata
r-tcltk2
r-tkrplot
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f80eb952b7d1a0cde3bed8152f9c4e9eceaa3f635209b2af9a11e785e8c0fbcc')
md5sums=('68f2977331442468df3080d365ce886a')
b2sums=('a6f005d891fdabb12d167efdbb22df2ddc41523db922ac380eb11f3c6cb2f336e0d35c0fa77dc198c197a4c1671b931e0b24241f4306124a447a27e8c6644770')
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: TeachingDemos_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=TeachingDemos
- source: rpkgs
pkgname: TeachingDemos
repo: cran
md5: true
- alias: r