summaryrefslogtreecommitdiff
path: root/repo/python-pyqtwebengine/python-pyqtwebengine.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-pyqtwebengine/python-pyqtwebengine.xibuild')
-rw-r--r--repo/python-pyqtwebengine/python-pyqtwebengine.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/python-pyqtwebengine/python-pyqtwebengine.xibuild b/repo/python-pyqtwebengine/python-pyqtwebengine.xibuild
new file mode 100644
index 0000000..0889c02
--- /dev/null
+++ b/repo/python-pyqtwebengine/python-pyqtwebengine.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+MAKEDEPS="python python-toml qt5-qtwebengine"
+DEPS="python"
+
+PKG_VER=5.15.5
+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
+}