[arch-commits] Commit in pyqtwebengine/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Sep 13 18:42:57 UTC 2019
Date: Friday, September 13, 2019 @ 18:42:56
Author: arojas
Revision: 362589
archrelease: copy trunk to testing-x86_64
Added:
pyqtwebengine/repos/testing-x86_64/
pyqtwebengine/repos/testing-x86_64/PKGBUILD
(from rev 362588, pyqtwebengine/trunk/PKGBUILD)
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
Copied: pyqtwebengine/repos/testing-x86_64/PKGBUILD (from rev 362588, pyqtwebengine/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-09-13 18:42:56 UTC (rev 362589)
@@ -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.1
+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_gpl-$pkgver.tar.gz")
+sha256sums=('8d8c1262005d8465653a848bf67327fb338e0d3c2d26090a6f7eb071dbb42092')
+
+prepare() {
+ cp -a PyQtWebEngine_gpl-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/PyQtWebEngine_gpl-$pkgver
+ python configure.py
+ make
+
+ cd "$srcdir"/PyQtWebEngine_gpl-$pkgver-py2
+ python2 configure.py
+ make
+}
+
+package_pyqtwebengine-common(){
+ pkgdesc="Common files shared between python-pyqtwebengine and python2-pyqtwebengine"
+ depends=(qt5-webengine)
+
+ cd PyQtWebEngine_gpl-$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_gpl-$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_gpl-$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