summaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtgraphicaleffects/APKBUILD
blob: 7b302af34eb388961a3d3f4076c9cd2aa2c7f82a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtgraphicaleffects
pkgver=5.1.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/5.1/$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="40d0989d68fb08c1184b7d5088da9c48  qtgraphicaleffects-opensource-src-5.1.1.tar.xz"
sha256sums="347c33ee496d67d98d64b6fa43797c45eae85752bb0026eb234bfb420f77febf  qtgraphicaleffects-opensource-src-5.1.1.tar.xz"
sha512sums="3ccc9215169e83a1975d24455ad38e3224d14c11c849a0b796f7020be385ef78b9a99f1ec885916ed29bd46c7ac9d7aaf20fe8115bebb18cc3c1b74c208420c0  qtgraphicaleffects-opensource-src-5.1.1.tar.xz"