summaryrefslogtreecommitdiff
path: root/extra/dbus-python/PKGBUILD
blob: 0a47e14ffa21d7acde13f6f09ca143f2cb26ad8b (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 156109 2012-04-14 07:40:13Z 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
}