r-svglite: fix systemrequirements

This commit is contained in:
Pekka Ristola 2023-10-11 15:26:59 +03:00
parent 80fe595586
commit 201d0756a2
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
3 changed files with 9 additions and 8 deletions

View file

@ -2,10 +2,10 @@
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=svglite
_pkgver=2.1.1
_pkgver=2.1.2
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=3
pkgrel=0
pkgdesc="An 'SVG' Graphics Device"
arch=(x86_64)
url="https://cran.r-project.org/package=${_pkgname}"
@ -33,8 +33,8 @@ optdepends=(
r-xml2
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('95ce45d5f57c8e82b7b2322fbe4868fb')
sha256sums=('48700169eec1b05dbee9e2bae000aa84c544617b018cb3ac431a128cfd8dac56')
md5sums=('0a81b2dd4e1f55970106aabe66b064c7')
sha256sums=('c2c163e17de8174408062b969a1fc298aa1dba957dc0acc1c898384bb76c0030')
build() {
mkdir -p build

View file

@ -9,7 +9,7 @@ from lilac_r_utils import r_pre_build
def pre_build():
r_pre_build(
_G,
expect_systemrequirements = "C++11, libpng",
expect_systemrequirements = "libpng",
)
def post_build():

View file

@ -15,7 +15,8 @@ update_on:
repo: cran
md5: true
- alias: r
- source: alpmfiles
pkgname: libpng
filename: usr/lib/libpng16\.so\.([^.]+)
- source: alpm
alpm: libpng
repo: extra
provided: libpng16.so
strip_release: true