author | Antonio Rojas
<arojas@archlinux.org> 2018-10-03 11:31:18 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2018-10-03 11:31:18 UTC |
parent | 408df4d35315a8338d50a12019c926646c414487 |
PKGBUILD | +5 | -9 |
diff --git a/PKGBUILD b/PKGBUILD index dee100c..25352e4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,8 +6,8 @@ pkgbase=pyqt5 pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') -pkgver=5.11.2 -pkgrel=2 +pkgver=5.11.3 +pkgrel=1 arch=('x86_64') url="http://riverbankcomputing.co.uk/software/pyqt/intro" license=('GPL') @@ -15,12 +15,10 @@ makedepends=('python-sip-pyqt5' 'python2-sip-pyqt5' 'sip' 'python-opengl' 'pytho 'python2-dbus' 'python-dbus' 'qt5-connectivity' 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg' 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras' 'qt5-networkauth') source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz") -sha512sums=('fc60246b5e1ca0d8aeef829fe20de9dd28b77e3c151532f9dbcd92c0deec12d8308cc799901aeec3f84af745e735053d2aaad2866ef64a2426cba343e08bc2c0') +sha512sums=('6f4abb1866ce357263c208121607072e127c8853e9c6bf039b034fefdda4c40e38f917c3b313375f0d692d764ecf26ff3a6b12cda2a2eeb5237db8b5e9443548') prepare() { cp -a PyQt5_gpl-$pkgver{,-py2} -# Remove check for sip from py2, it doesn't work since sip doesn't install __init__.py - sed -e 's|from PyQt5 import sip|pass|g' -i PyQt5_gpl-$pkgver-py2/configure.py } build() { @@ -28,7 +26,6 @@ build() { python configure.py \ --confirm-license \ --no-sip-files \ - --no-dist-info \ --qsci-api make @@ -36,7 +33,6 @@ build() { python2 configure.py \ --confirm-license \ --no-sip-files \ - --no-dist-info \ --qsci-api make } @@ -72,7 +68,7 @@ package_python-pyqt5(){ cd PyQt5_gpl-$pkgver # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR - make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install + make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install -j1 # Provided by pyqt-common rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api @@ -98,7 +94,7 @@ package_python2-pyqt5(){ cd PyQt5_gpl-$pkgver-py2 # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR - make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install + make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install -j1 # Fix conflicts with python-pyqt5 mv "$pkgdir"/usr/bin/{,python2-}pyuic5