r-hdf5r: fix build

This commit is contained in:
Pekka Ristola 2024-05-11 12:00:40 +03:00
parent 733e7a7ae8
commit 1394df33d1
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
2 changed files with 13 additions and 3 deletions

View file

@ -25,9 +25,17 @@ optdepends=(
r-rmarkdown
r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('6bd2d45695b64a082a88324a901b571c')
b2sums=('f299fcd4d148f4082c8eefec8f9f47bc3e97127ddfaefa3af22aea54f48d374431e8cf1f428b6a5d2d4c8cb68375a50feadb9a0c82766235382cac9bb9a55478')
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
"$_pkgname-fix-cast.patch::https://github.com/hhoeflin/hdf5r/pull/222.patch")
md5sums=('6bd2d45695b64a082a88324a901b571c'
'768237304963abc03caf47b078e724ae')
b2sums=('f299fcd4d148f4082c8eefec8f9f47bc3e97127ddfaefa3af22aea54f48d374431e8cf1f428b6a5d2d4c8cb68375a50feadb9a0c82766235382cac9bb9a55478'
'e4052485092f1a479047b89dcf690101596ac86bf8c327afa9c3ab6ebb69594d22dffe3715e0714bf32fad4e3c2c6b464865c02f1c1fd0f1a803686d66477b90')
prepare() {
# fix build
patch -Np1 -d "$_pkgname" < "$_pkgname-fix-cast.patch"
}
build() {
mkdir build

View file

@ -21,3 +21,5 @@ update_on:
pkgname: hdf5
filename: usr/lib/libhdf5_hl\.so\.([^.]+)
repo: extra
- source: manual
manual: 1