summaryrefslogtreecommitdiff
path: root/testing/dbus-python/PKGBUILD
blob: 8cfacff43beed1d7b6c8d95588e2c372c52bc83f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 128602 2011-06-24 13:59:34Z ibiru $
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=dbus-python
pkgver=0.84.0
pkgrel=1
pkgdesc="Python bindings for DBUS"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
depends=('dbus-glib' 'python2')
makedepends=('pkg-config' 'docutils')
options=('!libtool')
source=(http://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('fe69a2613e824463e74f10913708c88a')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  PYTHON=python2 ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}