summaryrefslogtreecommitdiff
path: root/extra/dbus-python/PKGBUILD
blob: 9e53823887fcbf96409e2f670f6f4f5a139cbd25 (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' 'mips64el')
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
}