diff options
author | root <root@rshg054.dnsready.net> | 2013-09-11 01:51:01 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-09-11 01:51:01 -0700 |
commit | 2cfbbdcb041073ed1f9aff2f2fd630b24e039e6d (patch) | |
tree | dc3af95fb8134ce025aa4a516ab1a00adf0e1917 /extra/sip/PKGBUILD | |
parent | f5039428394b8715a685c006ab4c7421f45d0aff (diff) |
Wed Sep 11 01:49:28 PDT 2013
Diffstat (limited to 'extra/sip/PKGBUILD')
-rw-r--r-- | extra/sip/PKGBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/extra/sip/PKGBUILD b/extra/sip/PKGBUILD index de942b78f..3b0b921f0 100644 --- a/extra/sip/PKGBUILD +++ b/extra/sip/PKGBUILD @@ -1,28 +1,30 @@ -# $Id: PKGBUILD 193580 2013-08-24 12:37:03Z andrea $ +# $Id: PKGBUILD 194027 2013-09-10 08:59:45Z 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 +pkgver=4.15.1.908d49322dcf +_pkgver=4.15.2-snapshot-908d49322dcf 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") -md5sums=('ec1ce361ac3618fe05359ec6f5368463') +#source=("http://downloads.sourceforge.net/pyqt/${pkgbase}-${pkgver}.tar.gz") +source=("http://www.riverbankcomputing.com/static/Downloads/sip4/${pkgname}-${_pkgver}.tar.gz") +md5sums=('a58484947c324dad2c99b5fd770fefea') 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 } @@ -31,7 +33,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" @@ -41,7 +43,7 @@ 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 @@ -54,7 +56,7 @@ 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 |