summaryrefslogtreecommitdiff
path: root/user/qt5-qtquickcontrols2/APKBUILD
blob: c4f4579a0906a1b8ca9decfa372cda19c580aeef (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtquickcontrols2
pkgver=5.9.3
pkgrel=0
pkgdesc="Qt5 - QtQuick controls 2.0"
url="http://qt-project.org/"
arch="all"
license="LGPLv2 with exceptions or GPLv3 with exceptions"
options="!check"
depends=""
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
install=""
subpackages="$pkgname-dev"

_ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
_ver=${_ver/rc0/rc}
_V=${_ver/rc/RC}
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac

source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtquickcontrols2-opensource-src-$_V.tar.xz"

builddir="$srcdir"/qtquickcontrols2-opensource-src-$_V
build() {
	cd "$builddir"
	qmake-qt5 && make
}

package() {
	cd "$builddir"
	make install INSTALL_ROOT="$pkgdir"
}

sha512sums="34bec1d3c68eb86ff078fded6d19f463ee78f4929adae54beb2a1c0b1dc3f5b1a7e73210ac05e3a7e3391919c37892dde4aff88cf20e2fb148cb2a03401856ee  qtquickcontrols2-opensource-src-5.9.3.tar.xz"