PKGBUILDs/qt5-webview/default/PKGBUILD

35 lines
882 B
Bash
Raw Normal View History

2016-02-03 20:42:14 +01:00
# 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.
2016-02-03 20:42:14 +01:00
_qt_module=qtwebview
pkgname=qt5-webview
pkgver=5.10.1
2016-02-03 20:42:14 +01:00
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')
2016-02-03 20:42:14 +01:00
makedepends=('git')
2016-11-01 19:46:16 +01:00
license=('GPL3' 'LGPL' 'FDL' 'custom')
url='https://www.qt.io/'
2017-12-08 19:49:53 +01:00
_pkgfqn="${_qt_module}-everywhere-src-${pkgver}"
2016-02-03 20:42:14 +01:00
groups=('qt5')
source=(${_qt_module}::git://code.qt.io/qt/${_qt_module}.git#tag=v$pkgver)
2016-12-20 23:05:26 +01:00
md5sums=('15c4a903f692ab4ea1ffb7c0ddb58e7a')
2016-02-03 20:42:14 +01:00
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
}