From bce247d29e4c6f3b30326d485942cc2d3614430f Mon Sep 17 00:00:00 2001 From: root Date: Mon, 16 Sep 2013 01:45:50 -0700 Subject: Mon Sep 16 01:44:21 PDT 2013 --- extra/sip/PKGBUILD | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'extra/sip') 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 # Contributor: Douglas Soares de Andrade # Contributor: riai , Ben 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" } -- cgit v1.2.3-54-g00ecf