core/qt5-webview/PKGBUILD

39 lines
726 B
Bash
Raw Normal View History

2017-03-13 02:07:34 +08:00
source ../qt5.conf
2017-10-19 01:37:58 +08:00
pkgname=qt5-webview
2017-03-13 02:07:34 +08:00
pkgver=${QSubVersion}
2018-01-22 07:34:42 +08:00
pkgrel=2
2017-03-13 02:07:34 +08:00
arch=('x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Provides a way to display web content in a QML application'
depends=('qt5-webengine')
makedepends=()
groups=('qt5')
options=('debug')
source=( $(getSrc ${pkgname}) )
md5sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
qmake-qt5 ../$(getPkgName ${pkgname})
make
}
package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
qtprlfix
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
}