/
PKGBUILD
38 lines (30 loc) · 964 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=qt5-webview
pkgver=${qtver}
subver=${subver}
_pkgver=${_qtver}
pkgrel=1
pkgdesc="A cross-platform application and UI framework, QtControls"
arch=('x86_64')
url='https://www.qt.io/'
license=('GPL3' 'LGPL')
depends=('qtwebengine' 'qt5-location')
groups=('qt5')
options=('!libtool')
_pkgfqn="qtwebview-everywhere-opensource-src-${subver}"
__pkgfqn="qtwebview-everywhere-src-${subver}"
source=("${_qtmirror}/${_pkgver}/${subver}/submodules/$_pkgfqn.tar.xz")
#source=("https://download.qt-project.org/development_releases/qt/${_pkgver}/${subver}/submodules/$_pkgfqn.tar.xz")
md5sums=(`grep ${_pkgfqn}.tar.xz ../qt.md5 | cut -d" " -f1`)
build() {
cd ${__pkgfqn}
/usr/lib/qt5/bin/qmake
make
}
package() {
cd ${__pkgfqn}
make INSTALL_ROOT=$pkgdir install
install -D -m644 LICENSE.LGPLv3 \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.LGPLv3
}