aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtquickcontrols/APKBUILD
blob: ef76919aef5319c48ea5b9959392db7da5182a77 (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:
pkgname=qt5-qtquickcontrols
pkgver=5.2.1
pkgrel=0
pkgdesc="Qt5 - module with set of QtQuick controls"
url="http://qt-project.org/"
arch="all"
license="BSD and (LGPLv2 with exceptions or GPLv3 with exceptions) and GFDL"
depends=""
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://download.qt-project.org/official_releases/qt/${pkgver%.*}/$pkgver/submodules/qtquickcontrols-opensource-src-$pkgver.tar.xz"

_builddir="$srcdir"/qtquickcontrols-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="027bc7d05fe740b21284dc909c9f11ac  qtquickcontrols-opensource-src-5.2.1.tar.xz"
sha256sums="eb03a69402576984d588923e994c3cb672d8479ac9b68ed90da15d0c2fd82aac  qtquickcontrols-opensource-src-5.2.1.tar.xz"
sha512sums="565a9a9771127c80f76e211ba63203600c74ec53d0f155fe1fde22801930a459bda4c5b028495c62123f89539bcee55b4b40fa2c8fd9b77561be35a436d46042  qtquickcontrols-opensource-src-5.2.1.tar.xz"