[arch-commits] Commit in pyqtwebengine/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Nov 3 21:20:28 UTC 2019
Date: Sunday, November 3, 2019 @ 21:20:28
Author: arojas
Revision: 366586
archrelease: copy trunk to testing-x86_64
Added:
pyqtwebengine/repos/testing-x86_64/
pyqtwebengine/repos/testing-x86_64/PKGBUILD
(from rev 366585, pyqtwebengine/trunk/PKGBUILD)
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
Copied: pyqtwebengine/repos/testing-x86_64/PKGBUILD (from rev 366585, pyqtwebengine/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-11-03 21:20:28 UTC (rev 366586)
@@ -0,0 +1,60 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=pyqtwebengine
+pkgname=(python-pyqtwebengine python2-pyqtwebengine pyqtwebengine-common)
+pkgver=5.13.2
+pkgrel=1
+arch=(x86_64)
+url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
+license=(GPL)
+makedepends=(sip qt5-webengine python-pyqt5 python2-pyqt5)
+source=("https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/$pkgver/PyQtWebEngine-$pkgver.tar.gz")
+sha256sums=('4264911b5847c75721d8c9c30af92e58a216bd25ceef37f7abf921005c1d45a9')
+
+prepare() {
+ cp -a PyQtWebEngine-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/PyQtWebEngine-$pkgver
+ python configure.py
+ make
+
+ cd "$srcdir"/PyQtWebEngine-$pkgver-py2
+ python2 configure.py
+ make
+}
+
+package_pyqtwebengine-common(){
+ pkgdesc="Common files shared between python-pyqtwebengine and python2-pyqtwebengine"
+ depends=(qt5-webengine)
+
+ cd PyQtWebEngine-$pkgver
+ install -Dm644 PyQtWebEngine.api -t "$pkgdir"/usr/share/qt/qsci/api/python
+
+ install -d "$pkgdir"/usr/share/sip/PyQt5
+ cp -a sip/* "$pkgdir"/usr/share/sip/PyQt5
+}
+
+package_python-pyqtwebengine(){
+ pkgdesc="Python 3 bindings for QtWebEngine"
+ depends=(python-pyqt5 pyqtwebengine-common)
+
+ cd PyQtWebEngine-$pkgver
+ make INSTALL_ROOT="$pkgdir" install -j1
+
+ # Provided by pyqtwebengine-common
+ rm -r "$pkgdir"/usr/share
+}
+
+package_python2-pyqtwebengine(){
+ pkgdesc="Python 2 bindings for QtWebEngine"
+ depends=(python2-pyqt5 pyqtwebengine-common)
+
+ cd PyQtWebEngine-$pkgver-py2
+ make INSTALL_ROOT="$pkgdir" install -j1
+
+ # Provided by pyqtwebengine-common
+ rm -r "$pkgdir"/usr/share
+}
More information about the arch-commits
mailing list