Permalink
Browse files

PyQt5: Update to Arch 5.7

  • Loading branch information...
The-Compiler committed Aug 1, 2016
1 parent e0b99b5 commit 9950622c6d0cab536f351b57e800891e8ad27e41
Showing with 6 additions and 9 deletions.
  1. +6 −9 pyqt5/PKGBUILD
View
@@ -7,18 +7,18 @@
pkgbase=pyqt5-debug
pkgname=('pyqt5-common-debug' 'python-pyqt5-debug' 'python2-pyqt5-debug')
pkgver=5.6
pkgver=5.7
_pkgver=$pkgver
pkgrel=1.1
pkgrel=2
arch=('i686' 'x86_64')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl'
'python2-dbus' 'python-dbus' 'qt5-connectivity'
'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg'
'qt5-webengine' 'qt5-websockets' 'qt5-x11extras')
'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras')
source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz")
md5sums=('dbfc885c0548e024ba5260c4f44e0481')
md5sums=('e3dc21f31fd714659f0688e1eb31bacf')
options=("debug" "!strip")
prepare() {
@@ -64,9 +64,6 @@ package_pyqt5-common-debug(){
depends=('qt5-base')
cd PyQt5_gpl-${_pkgver}
make -C pyrcc DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
make -C pylupdate DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
install -Dm644 PyQt5.api "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api
install -d "${pkgdir}"/usr/share/sip/PyQt5
@@ -94,7 +91,6 @@ package_python-pyqt5-debug(){
make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
# Provided by pyqt-common
rm "${pkgdir}"/usr/bin/{pylupdate5,pyrcc5}
rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api
}
@@ -120,8 +116,9 @@ package_python2-pyqt5-debug(){
# Fix conflicts with python-pyqt5-debug
mv "${pkgdir}"/usr/bin/{,python2-}pyuic5
mv "${pkgdir}"/usr/bin/{,python2-}pylupdate5
mv "${pkgdir}"/usr/bin/{,python2-}pyrcc5
rm "${pkgdir}"/usr/bin/{pylupdate5,pyrcc5}
rm "${pkgdir}"/usr/lib/qt/plugins/designer/libpyqt5.so
rm "${pkgdir}"/usr/lib/qt/plugins/PyQt5/libpyqt5qmlplugin.so
rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api

0 comments on commit 9950622

Please sign in to comment.