[arch-commits] Commit in pyqtwebengine/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Mar 19 20:49:29 UTC 2019
Date: Tuesday, March 19, 2019 @ 20:49:28
Author: arojas
Revision: 348734
archrelease: copy trunk to testing-x86_64
Added:
pyqtwebengine/repos/testing-x86_64/
pyqtwebengine/repos/testing-x86_64/PKGBUILD
(from rev 348733, pyqtwebengine/trunk/PKGBUILD)
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
Copied: pyqtwebengine/repos/testing-x86_64/PKGBUILD (from rev 348733, pyqtwebengine/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-03-19 20:49:28 UTC (rev 348734)
@@ -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.12.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/PyQtWebEngine_gpl-$pkgver.tar.gz")
+sha256sums=('860704672ea1b616e1347be1f347bc1c749e64ed378370863fe209e84e9bd473')
+
+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