# Maintainer: Martchus # All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where # you also find the URL of a binary repository. _qt_module=qtwebview pkgname=qt5-webview-git pkgver=107.ea82d77 pkgrel=1 arch=('i686' 'x86_64') pkgdesc='Provides a way to display web content in an application by using native APIs (git version)' depends=('qt5-quickcontrols' 'qt5-webengine') makedepends=('git') provides=(${pkgname%-git}) conflicts=(${pkgname%-git}) license=('custom' 'FDL' 'GPL3' 'LGPL') url="https://www.qt.io/" _pkgfqn="${_qt_module}-opensource-src-${pkgver}" groups=('qt5') source=(${_qt_module}::git://code.qt.io/qt/${_qt_module}.git#branch=dev) md5sums=('SKIP') pkgver() { cd "${srcdir}/${_qt_module}" echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } prepare() { cd "${srcdir}/${_qt_module}" } build() { cd "${srcdir}/${_qt_module}" qmake-qt5 ${_qt_module}.pro -recursive make } package() { cd "${srcdir}/${_qt_module}" make INSTALL_ROOT="${pkgdir}" install }