summaryrefslogtreecommitdiff
path: root/testing/dbus-python/PKGBUILD
blob: 6a548ab0400fa48b49f829a323ef7ff50bb3c649 (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
27
# $Id: PKGBUILD 155794 2012-04-06 15:21:54Z andyrtr $
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=dbus-python
pkgver=1.0.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-core' 'python2')
makedepends=('docutils' 'dbus-glib')
optdepends=('dbus-glib: glib mainloop support')
options=('!libtool')
source=(http://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('775a8235736bf760cdd96e2d76546469')

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

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