r-cpp11: fix systemrequirements

This commit is contained in:
Pekka Ristola 2023-08-10 19:50:55 +03:00
parent a7c423521e
commit 162a90020a
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
2 changed files with 5 additions and 8 deletions

View file

@ -3,10 +3,10 @@
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com # Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
_pkgname=cpp11 _pkgname=cpp11
_pkgver=0.4.5 _pkgver=0.4.6
pkgname=r-${_pkgname,,} pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.} pkgver=${_pkgver//-/.}
pkgrel=1 pkgrel=0
pkgdesc="A C++11 Interface for R's C Interface" pkgdesc="A C++11 Interface for R's C Interface"
arch=(any) arch=(any)
url="https://cran.r-project.org/package=${_pkgname}" url="https://cran.r-project.org/package=${_pkgname}"
@ -44,8 +44,8 @@ optdepends=(
r-withr r-withr
) )
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('bd98b547fda966bfc01d325e4b8085e9') md5sums=('786e1fdd894c982290d4ae401123fe59')
sha256sums=('adcd61b702eb6ab3203e3cfb267e89d0e47020cd0bdef0c1a502ada104789b5e') sha256sums=('d1c56954671d3398078ad52aaa4efce0864e8166465c8c5e5e9a1e40599055b3')
build() { build() {
mkdir -p build mkdir -p build

View file

@ -7,10 +7,7 @@ sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build from lilac_r_utils import r_pre_build
def pre_build(): def pre_build():
r_pre_build( r_pre_build(_G)
_G,
expect_systemrequirements = "C++11",
)
def post_build(): def post_build():
git_pkgbuild_commit() git_pkgbuild_commit()