author | Antonio Rojas
<arojas@archlinux.org> 2019-02-02 14:25:01 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2019-02-02 14:25:01 UTC |
parent | a0a3b51e04ed6d262f01f7165b4eb5e29905c3e9 |
PKGBUILD | +3 | -1 |
diff --git a/PKGBUILD b/PKGBUILD index 045d5b6..04a6ffa 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=pyqt5 pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') pkgver=5.11.3 -pkgrel=3 +pkgrel=4 arch=('x86_64') url="http://riverbankcomputing.co.uk/software/pyqt/intro" license=('GPL') @@ -75,6 +75,7 @@ package_python-pyqt5(){ # compile Python bytecode python -m compileall -d / "$pkgdir"/usr/lib + python -O -m compileall -d / "$pkgdir"/usr/lib # Provided by pyqt-common rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api @@ -107,6 +108,7 @@ package_python2-pyqt5(){ # compile Python bytecode python2 -m compileall -d / "$pkgdir"/usr/lib + python2 -O -m compileall -d / "$pkgdir"/usr/lib # Fix conflicts with python-pyqt5 mv "$pkgdir"/usr/bin/{,python2-}pyuic5