mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-rnetcdf: fix build
This commit is contained in:
parent
3d96c1840c
commit
0387f5628b
2 changed files with 7 additions and 13 deletions
|
@ -1,10 +1,10 @@
|
|||
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
||||
|
||||
_pkgname=RNetCDF
|
||||
_pkgver=2.7-1
|
||||
_pkgver=2.8-1
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgrel=0
|
||||
pkgdesc="Interface to 'NetCDF' Datasets"
|
||||
arch=(x86_64)
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
|
@ -23,17 +23,9 @@ checkdepends=(
|
|||
optdepends=(
|
||||
r-bit64
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
|
||||
"$_pkgname-fix-build.patch::https://github.com/mjwoods/RNetCDF/pull/128.patch")
|
||||
md5sums=('4ea0d88f5bb0b80ac2befd5903367977'
|
||||
'218440db93cdbfd1c963e73461176ecd')
|
||||
sha256sums=('80626172829077807c6f14506782ffd85a316f0c09539c3d64d4594edc756d0b'
|
||||
'186ebb62ea7b289108475ead24044f9d71f3bfdae06998f92e70faf1ceb74952')
|
||||
|
||||
prepare() {
|
||||
# fix build
|
||||
patch -Np1 -d "$_pkgname" < "$_pkgname-fix-build.patch"
|
||||
}
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
md5sums=('43e3fbb2fb1f0e90adf31c246fa0fccf')
|
||||
sha256sums=('660148cb7e272859145de4da64f57ec959110bd6863af67f44ebf36fc5a7513e')
|
||||
|
||||
build() {
|
||||
mkdir -p build
|
||||
|
|
|
@ -23,3 +23,5 @@ update_on:
|
|||
repo: extra
|
||||
provided: libmpi.so
|
||||
strip_release: true
|
||||
update_on_build:
|
||||
- pkgbase: udunits
|
||||
|
|
Loading…
Add table
Reference in a new issue