37 lines
908 B
Bash
37 lines
908 B
Bash
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
# 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
|
|
pkgver=5.6.0
|
|
pkgrel=1
|
|
arch=('i686' 'x86_64')
|
|
pkgdesc='Provides a way to display web content in an application by using native APIs'
|
|
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#tag=v$pkgver)
|
|
md5sums=('SKIP')
|
|
|
|
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
|
|
}
|