r-cpp11: fix systemrequirements

This commit is contained in:
Pekka Ristola 2023-07-20 18:34:47 +03:00
parent 9938f94bbb
commit 1f875ba9d6
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
2 changed files with 8 additions and 5 deletions

View file

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

View file

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