Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Eugen Zagorodniy <e dot zagorodniy at gmail dot com>
- # Contributor: Olaf Leidinger <leidola@newcon.de>
- # Contributer: Henning Garus <henning.garus@gmail.com>
- # Contributor: Thomas Burdick <thomas.burdick@gmail.com>
- pkgname=pyqwt
- pkgver=5.2.0
- pkgrel=9
- pkgdesc="Python bindings for Qt Widgets for Technical Applications"
- arch=("i686" "x86_64")
- url="http://pyqwt.sourceforge.net/"
- depends=('python2' 'python2-pyqt>=4.6.0' 'python2-numpy>=1.1.0' 'qwt5>=5.0.2' 'sip>=4.7.6')
- options=('!makeflags')
- license=("GPL")
- source=(
- "http://downloads.sourceforge.net/sourceforge/pyqwt/PyQwt-$pkgver.tar.gz"
- "qplt.py-r1.21.patch::http://pyqwt.cvs.sourceforge.net/viewvc/pyqwt/pyqwt5/qt4lib/PyQt4/Qwt5/qplt.py?r1=1.20&r2=1.21&view=patch"
- "use-qwt5.patch"
- )
- md5sums=('fcd6c6029090d473dcc9df497516eae7'
- '15e4c1f047f4b3867ca5c30b9c209349'
- '8d811bcfaf1a952286b12b6e6152c68a')
- build() {
- cd $srcdir
- patch PyQwt-$pkgver/qt4lib/PyQt4/Qwt5/qplt.py qplt.py-r1.21.patch
- patch -d PyQwt-$pkgver -p1 < use-qwt5.patch
- cd PyQwt-$pkgver/configure
- sed -i 's|'\''qmake'\''|'\''qmake-qt4'\''|' configure.py
- python2 configure.py -I/usr/include/qwt5 -lqwt5 || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement