[arch-commits] Commit in sip/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Sun Sep 30 10:10:47 UTC 2012


    Date: Sunday, September 30, 2012 @ 06:10:47
  Author: andrea
Revision: 167286

upgpkg: sip 4.14-1

Python rebuild

Modified:
  sip/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-09-30 02:21:52 UTC (rev 167285)
+++ PKGBUILD	2012-09-30 10:10:47 UTC (rev 167286)
@@ -5,25 +5,24 @@
 
 pkgbase=sip
 pkgname=('sip' 'python-sip' 'python2-sip')
-pkgver=4.13.3
-pkgrel=2
+pkgver=4.14
+pkgrel=1
 arch=('i686' 'x86_64')
 url="http://www.riverbankcomputing.com/software/sip/"
 license=('custom:"sip"')
 makedepends=('python' 'python2')
-source=("http://www.riverbankcomputing.com/static/Downloads/sip4/${pkgbase}-${pkgver}.tar.gz")
-md5sums=('76192829cc42ec558db46e4f9e1d8ba9')
+source=("http://downloads.sourceforge.net/pyqt/${pkgbase}-${pkgver}.tar.gz")
+md5sums=('9a48ad975e04ac824188840ea498ac32')
 
 build() {
-  cd "${srcdir}"
   cp -r ${pkgbase}-${pkgver} python2-${pkgbase}-${pkgver}
 
-  cd "${srcdir}/${pkgbase}-${pkgver}"
+  cd ${pkgbase}-${pkgver}
   python configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}"
   make
   
   ### Python2 version ###
-  cd "${srcdir}/python2-${pkgbase}-${pkgver}"
+  cd ../python2-${pkgbase}-${pkgver}
   python2 configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}"
   make
 }
@@ -32,7 +31,7 @@
   pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
   depends=('glibc')
 
-  cd "${srcdir}/${pkgbase}-${pkgver}"
+  cd ${pkgbase}-${pkgver}
   make DESTDIR="${pkgdir}" install -C sipgen
 
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
@@ -42,7 +41,7 @@
   pkgdesc="Python 3.x SIP bindings for C and C++ libraries"
   depends=('sip' 'python')
 
-  cd "${srcdir}/${pkgbase}-${pkgver}"
+  cd ${pkgbase}-${pkgver}
   make DESTDIR="${pkgdir}" install -C siplib
   
   install -Dm644 sipconfig.py "${pkgdir}"/usr/lib/python3.2/site-packages/sipconfig.py
@@ -55,7 +54,7 @@
   pkgdesc="Python 2.x SIP bindings for C and C++ libraries"
   depends=('sip' 'python2')
 
-  cd "${srcdir}/python2-${pkgbase}-${pkgver}"
+  cd python2-${pkgbase}-${pkgver}
   make DESTDIR="${pkgdir}" install -C siplib
   
   install -Dm644 sipconfig.py "${pkgdir}"/usr/lib/python2.7/site-packages/sipconfig.py




More information about the arch-commits mailing list