aboutsummaryrefslogtreecommitdiffstats
path: root/pyqt5/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pyqt5/PKGBUILD')
-rw-r--r--pyqt5/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/pyqt5/PKGBUILD b/pyqt5/PKGBUILD
index 2e64da6..ddbf71f 100644
--- a/pyqt5/PKGBUILD
+++ b/pyqt5/PKGBUILD
@@ -1,5 +1,6 @@
-# $Id: PKGBUILD 228889 2015-01-10 11:31:02Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# $Id: PKGBUILD 232203 2015-03-01 07:49:05Z fyan $
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Yichao Yu <yyc1992@gmail.com>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
@@ -7,9 +8,9 @@
pkgbase=pyqt5
pkgname=pyqt5
pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5')
-pkgver=5.4.0
-_pkgver=5.4
-pkgrel=2
+pkgver=5.4.1
+_pkgver=$pkgver
+pkgrel=1
arch=('i686' 'x86_64')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
@@ -18,15 +19,15 @@ makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl'
'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg'
'qt5-webengine' 'qt5-websockets' 'qt5-x11extras')
source=("http://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-${_pkgver}/PyQt-gpl-${_pkgver}.tar.gz")
-md5sums=('7f2eb79eaf3d7e5e7df5a4e9c8c9340e')
+md5sums=('a07bd7c426c7cda39f9a5072ee724aba')
build() {
- cp -r PyQt-gpl-${_pkgver} Py2Qt-gpl-${_pkgver}
+ cp -a PyQt-gpl-${_pkgver} Py2Qt-gpl-${_pkgver}
cd PyQt-gpl-${_pkgver}
python3 configure.py \
--confirm-license \
- -v /usr/share/sip/PyQt5 \
+ --no-sip-files \
--qsci-api \
-q /usr/bin/qmake-qt5
@@ -39,7 +40,7 @@ build() {
cd ../Py2Qt-gpl-${_pkgver}
python2 configure.py \
--confirm-license \
- -v /usr/share/sip/Py2-PyQt5 \
+ --no-sip-files \
--qsci-api \
-q /usr/bin/qmake-qt5
@@ -58,6 +59,9 @@ package_pyqt5-common(){
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
+ cp -a sip/* "${pkgdir}"/usr/share/sip/PyQt5
}
package_python-pyqt5(){