updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / python-qscintilla-dev / PKGBUILD
blob884b4d594ec2644b29f4cce18cb1ae73d3050cf6
1 # Python-QScintilla (Dev): Installer: Arch
2 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
4 filename=qscintilla
5 pkgname=python-${filename}-dev
6 realname=QScintilla
7 pkgver=2.4.5
8 #pkgdate=90e3461f410f
9 pkgrel=1
10 pkgdesc="Python bindings for QScintilla2.  This is the latest development snapshot."
11 arch=("i686" "x86_64")
12 url="http://www.riverbankcomputing.co.uk/software/${filename}/"
13 license=("GPL3")
14 provides=("python-${filename}=${pkgver}")
15 depends=("pyqt-dev>=4.7" "${filename}-dev>=${pkgver}")
16 conflicts=("python-${filename}" "python-${filename}2")
17 replaces=("python-${filename}2")
18 options=(!emptydirs)
19 source=(http://riverbankcomputing.com/static/Downloads/${realname}2/${realname}-gpl-${pkgver}.tar.gz)
20 #source=(http://riverbankcomputing.com/static/Downloads/${realname}2/${realname}-gpl-snapshot-${pkgver}-${pkgdate}.tar.gz)
22 build() {
23         cd ${srcdir}/${realname}-gpl-${pkgver}/Python
24         #cd ${srcdir}/${realname}-gpl-snapshot-${pkgver}-${pkgdate}/Python
26         python configure.py || return 1
27         make || return 1
30 package() {
31         cd ${srcdir}/${realname}-gpl-${pkgver}/Python
32         #cd ${srcdir}/${realname}-gpl-snapshot-${pkgver}-${pkgdate}/Python
34         make DESTDIR=${pkgdir} install || return 1
37 sha1sums=('2401c2214ba0377ad61855c0fac6f6c7c95801d6')