diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-12-14 20:26:20 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-12-14 20:26:20 (GMT) |
commit | 35f3018e624a0f709ead1e42a984673bcc6fc194 (patch) | |
tree | a82dfc447726aaf7ef3a49b9536a3982bc264eae | |
parent | 9973cf110a508b527f1e25d72a9bc250c6b5c100 (diff) | |
download | linhes_pkgbuild-35f3018e624a0f709ead1e42a984673bcc6fc194.zip linhes_pkgbuild-35f3018e624a0f709ead1e42a984673bcc6fc194.tar.gz linhes_pkgbuild-35f3018e624a0f709ead1e42a984673bcc6fc194.tar.bz2 |
dbus-python: update to 1.2.0
-rw-r--r-- | abs/core/dbus-python/PKGBUILD | 55 |
1 files changed, 29 insertions, 26 deletions
diff --git a/abs/core/dbus-python/PKGBUILD b/abs/core/dbus-python/PKGBUILD index 2ab6eea..2e7116d 100644 --- a/abs/core/dbus-python/PKGBUILD +++ b/abs/core/dbus-python/PKGBUILD @@ -1,63 +1,66 @@ -# $Id: PKGBUILD 162393 2012-06-26 18:57:06Z andyrtr $ +# $Id$ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgbase=dbus-python pkgname=('python2-dbus' 'python-dbus-common') -pkgver=1.1.1 -pkgrel=1 +pkgver=1.2.0 +pkgrel=4 pkgdesc="Python bindings for DBUS" arch=('i686' 'x86_64') license=('GPL' 'LGPL') url="http://www.freedesktop.org/wiki/Software/DBusBindings" makedepends=('docutils' 'dbus-glib' 'python2') -options=('!libtool') -source=(http://dbus.freedesktop.org/releases/${pkgbase}/${pkgbase}-${pkgver}.tar.gz) -md5sums=('742c7432ad0f7c3f98291d58fa2e35dc') +source=(http://dbus.freedesktop.org/releases/${pkgbase}/${pkgbase}-${pkgver}.tar.gz{,.asc}) +md5sums=('b09cd2d1a057cc432ce944de3fc06bf7' + 'SKIP') + +prepare() { + mkdir build-python2 + cd $pkgbase-$pkgver + autoreconf -fi +} build() { - cd "${srcdir}" - mkdir build-python2 build-python3 - cd "${srcdir}/build-python2" + cd build-python2 PYTHON=python2 ../${pkgbase}-${pkgver}/configure --prefix=/usr make - - #cd "${srcdir}/build-python3" - #../${pkgbase}-${pkgver}/configure --prefix=/usr - #make +# cd ../build-python3 +# ../${pkgbase}-${pkgver}/configure --prefix=/usr +# make } package_python-dbus-common() { pkgdesc="Common dbus-python files shared between python-dbus and python2-dbus" conflicts=('dbus-python<1.1.0') - cd "${srcdir}/build-python2" + cd build-python2 make DESTDIR="${pkgdir}" install-data rm -rf "${pkgdir}"/usr/lib/python* } -package_python-dbus1() { - depends=('python-dbus-common' 'python' 'dbus-core') - optdepends=('dbus-glib: glib mainloop support') - pkgdesc="Python 3.2 bindings for DBUS" +#package_python-dbus() { +# depends=('python-dbus-common' 'python' 'dbus') +# optdepends=('dbus-glib: glib mainloop support') +# pkgdesc="Python 3.3 bindings for DBUS" - cd "${srcdir}/build-python3" - make DESTDIR="${pkgdir}" install +# cd build-python3 +# make DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}/usr/share" - rm -rf "${pkgdir}/usr/include" - rm -rf "${pkgdir}/usr/lib/pkgconfig" -} +# rm -rf "${pkgdir}/usr/share" +# rm -rf "${pkgdir}/usr/include" +# rm -rf "${pkgdir}/usr/lib/pkgconfig" +#} package_python2-dbus() { - depends=('python-dbus-common' 'python2' 'dbus-core') + depends=('python-dbus-common' 'python2' 'dbus') optdepends=('dbus-glib: glib mainloop support') pkgdesc="Python 2.7 bindings for DBUS" replaces=('dbus-python') conflicts=('dbus-python') provides=("dbus-python=$pkgver") - cd "${srcdir}/build-python2" + cd build-python2 make DESTDIR="${pkgdir}" install rm -rf "${pkgdir}/usr/share" |