fix: r-partitions

This commit is contained in:
sukanka 2022-07-21 14:45:38 +08:00
parent 5ddbcd52d7
commit 0e7f73a533
2 changed files with 6 additions and 4 deletions

View file

@ -1,10 +1,10 @@
# Maintainer: sukanka <su975853527@gmail.com>
_pkgname=partitions
_pkgver=1.10-4
_pkgver=1.10-7
pkgname=r-${_pkgname,,}
pkgver=1.10.4
pkgrel=5
pkgver=1.10.7
pkgrel=0
pkgdesc='Additive Partitions of Integers'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
@ -15,12 +15,13 @@ depends=(
r-mathjaxr
r-polynom
r-sets
r-rdpack
)
optdepends=(
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('b10091416c3453eb9e9fd46c8cdd35668236579676db43d0267d79e7856467c6')
sha256sums=('0bfb8371446f8f9be4595a8a3c50b3530c7d4c83c98be7fc4c23b74379f0b1cf')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"

View file

@ -6,6 +6,7 @@ repo_depends:
- r-mathjaxr
- r-polynom
- r-sets
- r-rdpack
update_on:
- regex: partitions_([\d._-]+).tar.gz
source: regex