summaryrefslogtreecommitdiff
path: root/extra/sip
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-01 00:03:50 +0000
committerroot <root@rshg054.dnsready.net>2012-07-01 00:03:50 +0000
commit55f2d1ab0ab1bd2f7c8c7c5cefeb45f7c457a5d9 (patch)
tree2225c1ac4218dd287787d4a4c8ec8ceaced09067 /extra/sip
parent3025740c981e5acc29f25b400bc93046776d7008 (diff)
Sun Jul 1 00:03:50 UTC 2012
Diffstat (limited to 'extra/sip')
-rw-r--r--extra/sip/PKGBUILD41
1 files changed, 26 insertions, 15 deletions
diff --git a/extra/sip/PKGBUILD b/extra/sip/PKGBUILD
index 8a3f939a3..a425c00e3 100644
--- a/extra/sip/PKGBUILD
+++ b/extra/sip/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 150174 2012-02-14 07:57:34Z andrea $
+# $Id: PKGBUILD 162739 2012-06-29 11:34:13Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: riai <riai@bigfoot.com>, Ben <ben@benmazer.net>
pkgbase=sip
-pkgname=('sip' 'python2-sip')
-pkgver=4.13.2
-pkgrel=1
+pkgname=('sip' 'python-sip' 'python2-sip')
+pkgver=4.13.3
+pkgrel=2
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,36 @@ build() {
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 sipconfig.py "${pkgdir}"/usr/lib/python3.2/site-packages/sipconfig.py
+ install -Dm644 sipdistutils.py "${pkgdir}"/usr/lib/python3.2/site-packages/sipdistutils.py
+
+ 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 sipconfig.py "${pkgdir}"/usr/lib/python2.7/site-packages/sipconfig.py
+ install -Dm644 sipdistutils.py "${pkgdir}"/usr/lib/python2.7/site-packages/sipdistutils.py
+
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- # Provided by sip
- rm "${pkgdir}/usr/bin/sip"
}