summaryrefslogtreecommitdiff
path: root/repo/python-pyqtwebengine/python-pyqtwebengine.xibuild
blob: cbc2bf856ade0f9c6a464b264b985db5800ef556 (plain)
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
#!/bin/sh

MAKEDEPS="python python-toml qt5-qtwebengine"
DEPS="python"

PKG_VER=5.15.6
SOURCE="https://pypi.python.org/packages/source/P/PyQtWebEngine/PyQtWebEngine-$PKG_VER.tar.gz"
MAKEDEPS="python"
DESC="Python bindings for the Qt WebEngine framework"

build() {
	sip-build \
		--no-make \
		--qmake /usr/lib/qt5/bin/qmake \
		--api-dir /usr/share/qt5/qsci/api/python
	make -C build
}


check() {
	make -C build check
}

package () {
    make DESTDIR="$PKG_VER" INSTALL_ROOT="$PKG_VER" -C build install -j1
}