APKBUILD 1.03 KB
Newer Older
1
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
2
pkgname=qt5-qtquickcontrols
3
_pkgname=${pkgname/qt5-//}-everywhere-src
4
pkgver=5.12.5
5 6
_ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
7
_ver=${_ver/rc0/rc}
8 9
_v=${_ver/rc/RC}
pkgrel=1
10 11
pkgdesc="Qt5 - module with set of QtQuick controls"
url="http://qt-project.org/"
12 13
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
14 15
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"

16
case $pkgver in
17
*_beta*|*_rc*) _rel=development_releases;;
18 19
*) _rel=official_releases;;
esac
20
source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtquickcontrols-everywhere-src-$_v.tar.xz"
21

22
builddir="$srcdir/$_pkgname-${_v%-*}"
23

24 25
build() {
	qmake-qt5 && make
26 27
}

28 29
check() {
	make check
30 31 32
}

package() {
33
	make install INSTALL_ROOT="$pkgdir"
34 35
}

36
sha512sums="4539a6ce1ee20f71f6bf48271bc3fe1125bd21899cf36142d1c3d41a68ba56211f27d6e4403c69e86bd4698c7c7c79bc60f2a78ef1b19c5eab5b8690d1a01037  qtquickcontrols-everywhere-src-5.12.5.tar.xz"