summaryrefslogtreecommitdiff
path: root/extra/sip/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-16 01:45:50 -0700
committerroot <root@rshg054.dnsready.net>2013-09-16 01:45:50 -0700
commitbce247d29e4c6f3b30326d485942cc2d3614430f (patch)
tree01e32a818b790f0fa25a4d0f6e2b5a37e73af3de /extra/sip/PKGBUILD
parentc779760082085ee8f0e33d528811450e260867e0 (diff)
Mon Sep 16 01:44:21 PDT 2013
Diffstat (limited to 'extra/sip/PKGBUILD')
-rw-r--r--extra/sip/PKGBUILD32
1 files changed, 15 insertions, 17 deletions
diff --git a/extra/sip/PKGBUILD b/extra/sip/PKGBUILD
index 3b0b921f0..516df0bf0 100644
--- a/extra/sip/PKGBUILD
+++ b/extra/sip/PKGBUILD
@@ -1,30 +1,28 @@
-# $Id: PKGBUILD 194027 2013-09-10 08:59:45Z andrea $
+# $Id: PKGBUILD 194372 2013-09-15 07:17:44Z 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' 'python-sip' 'python2-sip')
-pkgver=4.15.1.908d49322dcf
-_pkgver=4.15.2-snapshot-908d49322dcf
+pkgver=4.15.2
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.riverbankcomputing.com/software/sip/intro'
license=('custom:"sip"')
makedepends=('python' 'python2')
-#source=("http://downloads.sourceforge.net/pyqt/${pkgbase}-${pkgver}.tar.gz")
-source=("http://www.riverbankcomputing.com/static/Downloads/sip4/${pkgname}-${_pkgver}.tar.gz")
-md5sums=('a58484947c324dad2c99b5fd770fefea')
+source=("http://downloads.sourceforge.net/pyqt/${pkgbase}-${pkgver}.tar.gz")
+md5sums=('52abe824ca7f530a5643abfa3ee715d7')
build() {
- cp -r ${pkgbase}-${_pkgver} python2-${pkgbase}-${_pkgver}
+ cp -r ${pkgbase}-${pkgver} python2-${pkgbase}-${pkgver}
- cd ${pkgbase}-${_pkgver}
+ cd ${pkgbase}-${pkgver}
python configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}"
make
-
+
### Python2 version ###
- cd ../python2-${pkgbase}-${_pkgver}
+ cd ../python2-${pkgbase}-${pkgver}
python2 configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}"
make
}
@@ -33,7 +31,7 @@ package_sip() {
pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
depends=('glibc')
- cd ${pkgbase}-${_pkgver}
+ cd ${pkgbase}-${pkgver}
make DESTDIR="${pkgdir}" install -C sipgen
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
@@ -43,12 +41,12 @@ package_python-sip() {
pkgdesc="Python 3.x SIP bindings for C and C++ libraries"
depends=('sip' 'python')
- cd ${pkgbase}-${_pkgver}
+ cd ${pkgbase}-${pkgver}
make DESTDIR="${pkgdir}" install -C siplib
-
+
install -Dm644 sipconfig.py "${pkgdir}"/usr/lib/python3.3/site-packages/sipconfig.py
install -Dm644 sipdistutils.py "${pkgdir}"/usr/lib/python3.3/site-packages/sipdistutils.py
-
+
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
@@ -56,11 +54,11 @@ package_python2-sip() {
pkgdesc="Python 2.x SIP bindings for C and C++ libraries"
depends=('sip' 'python2')
- cd 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
install -Dm644 sipdistutils.py "${pkgdir}"/usr/lib/python2.7/site-packages/sipdistutils.py
-
+
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}