# Maintainer: Natanael Copa pkgname=qt5-qtgraphicaleffects pkgver=5.2.1 pkgrel=0 pkgdesc="Qt5 - QtGraphicalEffects component" url="http://qt-project.org/" arch="all" license="LGPLv2 with exceptions or GPLv3 with exceptions" depends="" depends_dev="" makedepends="$depends_dev qt5-qtbase-dev" install="" subpackages="" source="http://download.qt-project.org/official_releases/qt/${pkgver%.*}/$pkgver/submodules/qtgraphicaleffects-opensource-src-$pkgver.tar.xz" _builddir="$srcdir"/qtgraphicaleffects-opensource-src-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" qmake && make || return 1 } package() { cd "$_builddir" make install INSTALL_ROOT="$pkgdir" || return 1 } md5sums="8dde8593750e33a79f49c5a2f03caf0c qtgraphicaleffects-opensource-src-5.2.1.tar.xz" sha256sums="5abb17ee60d68cf49c4f8f0b69c3f1e4d0a2f7b32cda8d6901d9c35447cc3482 qtgraphicaleffects-opensource-src-5.2.1.tar.xz" sha512sums="4fa87eeb7f394b82446ae304c858e743f121e19a4d30f5eb1ce3d553efeb95fe5a328fe06b9ed6387fd421549cf432146bda7de7ca648aa7c31a97f31b3b56c0 qtgraphicaleffects-opensource-src-5.2.1.tar.xz"