mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/pyqt5 to 5.4.1-1
This commit is contained in:
parent
4019cc96c1
commit
9aae97a3e8
1 changed files with 12 additions and 8 deletions
|
@ -1,5 +1,6 @@
|
|||
# $Id$
|
||||
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
||||
# 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>
|
||||
|
@ -10,9 +11,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')
|
||||
|
@ -21,15 +22,15 @@ makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl'
|
|||
'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg'
|
||||
'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
|
||||
|
||||
|
@ -42,7 +43,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
|
||||
|
||||
|
@ -61,6 +62,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(){
|
||||
|
|
Loading…
Reference in a new issue