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

Andrea Scarpino andrea at archlinux.org
Wed Jun 27 13:56:09 UTC 2012


    Date: Wednesday, June 27, 2012 @ 09:56:08
  Author: andrea
Revision: 162643

upgpkg: sip 4.13.3-1

Upstream release; split the sip binary from the python bindings

Modified:
  sip/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-27 13:54:52 UTC (rev 162642)
+++ PKGBUILD	2012-06-27 13:56:08 UTC (rev 162643)
@@ -4,15 +4,15 @@
 # Contributor: riai <riai at bigfoot.com>, Ben <ben at benmazer.net>
 
 pkgbase=sip
-pkgname=('sip' 'python2-sip')
-pkgver=4.13.2
+pkgname=('sip' 'python-sip' 'python2-sip')
+pkgver=4.13.3
 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=('5a12ea8e8a09b879ed2b3817e30fbc84')
+md5sums=('76192829cc42ec558db46e4f9e1d8ba9')
 
 build() {
   cd "${srcdir}"
@@ -30,25 +30,30 @@
 
 package_sip() {
   pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
-  depends=('python')
-  replaces=('python-sip')
-  provides=('python-sip')
+  depends=('glibc')
 
   cd "${srcdir}/${pkgbase}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" install -C sipgen
 
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
 
+package_python-sip() {
+  pkgdesc="Python 3.x SIP bindings for C and C++ libraries"
+  depends=('sip' 'python')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make DESTDIR="${pkgdir}" install -C siplib
+  
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
 package_python2-sip() {
-  pkgdesc="A tool that makes it easy to create Python2 bindings for C and C++ libraries"
+  pkgdesc="Python 2.x SIP bindings for C and C++ libraries"
   depends=('sip' 'python2')
 
   cd "${srcdir}/python2-${pkgbase}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
+  make DESTDIR="${pkgdir}" install -C siplib
+  
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  # Provided by sip
-  rm "${pkgdir}/usr/bin/sip"
 }




More information about the arch-commits mailing list