core/dbus-python/PKGBUILD

24 lines
754 B
Bash
Raw Normal View History

2010-04-07 03:23:26 +08:00
# $Id: PKGBUILD 75824 2010-04-04 12:03:46Z jgc $
# Contributor: Jan de Groot <jgc@archlinux.org>
2011-08-31 02:20:52 +08:00
# Maintainer (x86_64:) Mateusz Krawczuk <willingmagic[at]gmail[dot]com>
2010-03-14 23:48:48 +08:00
pkgname=dbus-python
2011-08-31 02:20:52 +08:00
pkgver=0.84.0
2011-03-25 06:48:41 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="Python bindings for DBUS"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
depends=('dbus-glib>=0.82' 'python>=2.7')
makedepends=('pkgconfig') # 'docutils'
2010-03-14 23:48:48 +08:00
options=('!libtool')
source=(http://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
2011-08-31 02:20:52 +08:00
md5sums=('fe69a2613e824463e74f10913708c88a')
2010-03-14 23:48:48 +08:00
build() {
2010-04-07 03:23:26 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2011-08-31 02:20:52 +08:00
PYTHON=python2 ./configure --prefix=/usr || return 1
2010-03-14 23:48:48 +08:00
make || return 1
2010-04-07 03:23:26 +08:00
make DESTDIR="${pkgdir}" install || return 1
2010-03-14 23:48:48 +08:00
}