2016-02-03 20:42:14 +01:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
|
2016-03-25 21:43:59 +01:00
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
|
|
# you also find the URL of a binary repository.
|
|
|
|
|
2016-02-03 20:42:14 +01:00
|
|
|
_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)'
|
2016-03-23 21:01:33 +01:00
|
|
|
depends=('qt5-quickcontrols' 'qt5-webengine')
|
2016-02-03 20:42:14 +01:00
|
|
|
makedepends=('git')
|
|
|
|
provides=(${pkgname%-git})
|
|
|
|
conflicts=(${pkgname%-git})
|
2016-11-01 19:46:16 +01:00
|
|
|
license=('GPL3' 'LGPL' 'FDL' 'custom')
|
2016-02-04 00:33:39 +01:00
|
|
|
url="https://www.qt.io/"
|
2016-02-03 20:42:14 +01:00
|
|
|
_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
|
|
|
|
}
|