# Maintainer: Natanael Copa pkgname=librsvg pkgver=2.40.21 pkgrel=0 pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf" url="http://live.gnome.org/LibRsvg" arch="all" license="LGPL-2.0-or-later" subpackages="$pkgname-dev $pkgname-doc" depends= depends_dev="gtk+2.0-dev libcroco-dev libgsf-dev" makedepends="$depends_dev bzip2-dev cairo-dev glib-dev gobject-introspection-dev" install= source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz " # sporadic testsuite failures options="!check" # secfixes: # 2.40.21-r0: # - CVE-2019-20446 build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --libexecdir=/usr/lib/$pkgname \ --disable-static make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR=""$pkgdir"" install rm -rf "$pkgdir"/usr/lib/mozilla } sha512sums="db0563d8e0edaae642a6b2bcd239cf54191495058ac8c7ff614ebaf88c0e30bd58dbcd41f58d82a9d5ed200ced45fc5bae22f2ed3cf3826e9348a497009e1280 librsvg-2.40.21.tar.xz"