PKGBUILDs/qt5-webview/default/PKGBUILD

35 lines
882 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.11.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')
license=('GPL3' 'LGPL' 'FDL' 'custom')
url='https://www.qt.io/'
_pkgfqn="${_qt_module}-everywhere-src-${pkgver}"
groups=('qt5')
source=(${_qt_module}::git://code.qt.io/qt/${_qt_module}.git#tag=v$pkgver)
md5sums=('15c4a903f692ab4ea1ffb7c0ddb58e7a')
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
}