mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-igraph: fix build
This commit is contained in:
parent
9bb5f885c7
commit
1e3c04e832
4 changed files with 51 additions and 18 deletions
|
@ -5,15 +5,16 @@
|
|||
# Contributor: Oleg Smirnov <oleg.smirnov@gmail.com>
|
||||
|
||||
_pkgname=igraph
|
||||
_pkgver=2.0.1.1
|
||||
_pkgver=2.0.2
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgrel=0
|
||||
pkgdesc="Network Analysis and Visualization"
|
||||
arch=(x86_64)
|
||||
url="https://cran.r-project.org/package=$_pkgname"
|
||||
license=('GPL-2.0-or-later')
|
||||
depends=(
|
||||
arpack
|
||||
blas
|
||||
glpk
|
||||
gmp
|
||||
|
@ -25,10 +26,10 @@ depends=(
|
|||
r-magrittr
|
||||
r-pkgconfig
|
||||
r-rlang
|
||||
r-vctrs
|
||||
util-linux-libs
|
||||
)
|
||||
makedepends=(
|
||||
gcc-fortran
|
||||
r-cpp11
|
||||
)
|
||||
checkdepends=(
|
||||
|
@ -53,10 +54,10 @@ optdepends=(
|
|||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
|
||||
"igraph-system-libs.patch")
|
||||
md5sums=('eb05121b1c41105eff1ec879a9d2701e'
|
||||
'c1733746148c001f363a5ef88c6c0bc6')
|
||||
b2sums=('c28a109985d670578ae962aa24405258e09d18bdda86b83bf1bc36f26a6fea927b852f2f39e1044c43e7e3dacdc00f952ae1351b4c6b752df36bca2c243dbc52'
|
||||
'3a5f0e5f8821054733d71ddef66e9c734cd06bbd1d6f8f81fb718b1cf82cdb8cff300fab1622817b2716ad5860efd98e8995ce53c39ba153544a80838e89e4fd')
|
||||
md5sums=('5ec60d660bedd8242751ed0b8720280f'
|
||||
'6c7d29860961ff06147a1ca2819dcad5')
|
||||
b2sums=('5ac558f237ce339c2e27a349eae6651c0b38333e2fb902b9378bde72773989520f48fb83b5ddccbb7c9aa1f93e0b211fee6489537d45a4a1ec8ab2ad5e8c5cfe'
|
||||
'b7547dbd5d8bd30bb59fc15937fb99df18f17025d8f4fc8ba5164b5257a7dbcf46271eb7d262aa0e6d17868007e15f2fa1aebc43cb7f85c377a109b87b963f3b')
|
||||
|
||||
prepare() {
|
||||
# Build using system libraries
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,8 @@ from lilac_r_utils import r_pre_build
|
|||
def pre_build():
|
||||
r_pre_build(
|
||||
_G,
|
||||
expect_systemrequirements = "gmp, libxml2, glpk (>= 4.57)",
|
||||
expect_systemrequirements = "libxml2, glpk (>= 4.57)",
|
||||
ignore_fortran_files = True,
|
||||
)
|
||||
|
||||
def post_build():
|
||||
|
|
|
@ -8,6 +8,7 @@ repo_depends:
|
|||
- r-magrittr
|
||||
- r-pkgconfig
|
||||
- r-rlang
|
||||
- r-vctrs
|
||||
repo_makedepends:
|
||||
- r-cpp11
|
||||
- r-graph
|
||||
|
@ -19,6 +20,10 @@ update_on:
|
|||
repo: cran
|
||||
md5: true
|
||||
- alias: r
|
||||
- source: alpmfiles
|
||||
pkgname: arpack
|
||||
filename: usr/lib/libarpack\.so\.([^.]+)
|
||||
repo: extra
|
||||
- source: alpmfiles
|
||||
pkgname: blas
|
||||
filename: usr/lib/libblas\.so\.([^.]+)
|
||||
|
|
Loading…
Add table
Reference in a new issue