# Contributor: Francesco Colista # Maintainer: Natanael Copa pkgname=qt5-qtsvg pkgver=5.14.1 _ver=${pkgver/_/-} _ver=${_ver/beta0/beta} _ver=${_ver/rc0/rc} _v=${_ver/rc/RC} pkgrel=0 pkgdesc="Qt5 - Support for rendering and displaying SVG" url="https://www.qt.io/developers/" arch="all" license="(LGPL-2.0-or-later OR GPL-3.0-only OR GPL-2.0-or-later) AND Qt-GPL-exception-1.0" makedepends="qt5-qtbase-dev zlib-dev" subpackages="$pkgname-dev" case $pkgver in *_beta*|*_rc*) _rel=development_releases;; *) _rel=official_releases;; esac source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtsvg-everywhere-src-$_v.tar.xz" builddir="$srcdir"/qtsvg-everywhere-src-${_v%-*} build() { qmake-qt5 && make } check() { make check } package() { make install INSTALL_ROOT="$pkgdir" } sha512sums="022f2a4ddfb13e8b35746394f968b117b38bb805869cf3dd8f354d3e76b3e64e47414e9d12dcdb04bcf2162b520ee5521836d6ee4a6d1257e7f1e5ec565ca821 qtsvg-everywhere-src-5.14.1.tar.xz"