Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions BioArchLinux/r-pak/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Contributor: peippo <christoph+aur@christophfink.com>

_pkgname=pak
_pkgver=0.9.5
_pkgver=0.11.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
Expand All @@ -26,13 +26,19 @@ depends=(
r-processx
r-ps
r-r6
r-tsitter
r-tstoml
r-zip
r-keyring
r-yaml
)
checkdepends=(
r-mockery
r-pingr
r-pkgload
r-testthat
r-webfakes
r-withr
)
optdepends=(
r-covr
Expand All @@ -48,9 +54,9 @@ optdepends=(
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
"system-libs.patch")
md5sums=('dcedd9fca4f9603fc2793ea2686dc2c9'
md5sums=('201eaa969a601b2efc6253432a283741'
'29b1470e2d25f82ebeafc02fe3b2594a')
b2sums=('ef89e33cb8f40b1b80c049c602122c66a46ce2c7e2ad4075d41b85863ee0aebf9cecd55943098e20b98fede494ff416a959dffccaa0a36a719d5e840978c0719'
b2sums=('75c6adc393ebe8a5a0169d6c01c7a20011fb0f672e06742d6bcb2ae0af3df506607b954e1e76261c5b939974769b92198840d026bd6b4d0b7ef018870c2ab3ae'
'b422c6a23d6850831433fdcf3e81684189bdaea1735fcc85edeff3202fe084f4167876949ff9ddfd5654cb2ce202ed005800a217dfe9bb12fb8240456880b4f1')

prepare() {
Expand Down
6 changes: 6 additions & 0 deletions BioArchLinux/r-pak/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,18 @@ repo_depends:
- r-processx
- r-ps
- r-r6
- r-tsitter
- r-tstoml
- r-zip
- r-keyring
- r-yaml
repo_makedepends:
- r-mockery
- r-pingr
- r-pkgload
- r-testthat
- r-webfakes
- r-withr
update_on:
- source: rpkgs
pkgname: pak
Expand Down
46 changes: 46 additions & 0 deletions BioArchLinux/r-tstoml/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Maintainer: Boris Shor <boris@bshor.com>

_pkgname=tstoml
_commit=548e2e71195906584b17ac0aa83e4d3edcef8da2
pkgname=r-tstoml
pkgver=0.0.0.9000
pkgrel=1
pkgdesc="Edit TOML Files"
arch=(x86_64)
url="https://github.com/gaborcsardi/tstoml"
license=('MIT')
depends=(
r-tsitter
)
checkdepends=(
r-hms
r-pillar
r-testthat
r-withr
)
optdepends=(
r-asciicast
r-hms
r-pillar
r-testthat
r-withr
)
source=("${_pkgname}-${_commit}.tar.gz::${url}/archive/${_commit}.tar.gz")
sha256sums=('9e8c3c7ea9505440901d8b2e12108cd1d0b1af9505c114e96da14c6f5583559c')

build() {
mkdir build
R CMD INSTALL -l build "$_pkgname-$_commit"
}

check() {
cd "$_pkgname-$_commit/tests"
R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla testthat.R
}

package() {
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"
}
21 changes: 21 additions & 0 deletions BioArchLinux/r-tstoml/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
build_prefix: extra-x86_64
maintainers:
- github: bshor
email: boris@bshor.com
repo_depends:
- r-tsitter
repo_makedepends:
- r-hms
- r-pillar
- r-testthat
- r-withr
# No release tags; the published source asset still imports the obsolete ts.
# Review and update the pinned commit manually when upstream changes.
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver)
post_build_script: |
git_pkgbuild_commit()
update_on:
- source: manual
manual: '0.0.0.9000'
- alias: r