summaryrefslogtreecommitdiffstats
path: root/testing/py-dbus/APKBUILD
blob: 64e1d54181fd85f521d26ba3e0d85c0772b32567 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-dbus
pkgver=0.83.1
pkgrel=0
pkgdesc="Python bindings for DBUS"
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
license="GPL LGPL"
depends="python>=2.6.5"
makedepends="pkgconfig dbus-glib-dev python-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$pkgver.tar.gz"

_builddir="$srcdir"/dbus-python-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="5fdf3970aa0c00020289de7ba8f3be18  dbus-python-0.83.1.tar.gz"