# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=qt5-qtconnectivity _pkgname=${pkgname/qt5-//}-everywhere-src pkgver=5.12.0 _ver=${pkgver/_/-} _ver=${_ver/beta0/beta} _ver=${_ver/rc0/rc} _V=${_ver/rc/RC} pkgrel=0 pkgdesc="QT5 Connectivity Compontents" url="http://qt-project.org/" arch="all" license="LGPL-2.0 with exceptions or GPL-3.0 with exceptions" options="!check" #upstream does not provide check makedepends="qt5-qtbase-dev" subpackages="$pkgname-dev" case $pkgver in *_beta*|*_rc*) _rel=development_releases;; *) _rel=official_releases;; esac source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/$_pkgname-$_V.tar.xz" builddir="$srcdir"/$_pkgname-${_V%-*} prepare() { default_prepare cd "$builddir" mkdir -p build } build() { cd "$builddir"/build qmake-qt5 .. make } package() { cd "$builddir"/build make INSTALL_ROOT="$pkgdir" install } sha512sums="7e6b98cbfc1fcf5545b3f0be513a34f5ba67cc284e3101ebfbbc178b1bccf8cf77ccd7f03dab5fc2fa46aaa61faf7f1adb3f47e98d0c19ea248189f44f030faf qtconnectivity-everywhere-src-5.12.0.tar.xz"