summaryrefslogtreecommitdiffstats
path: root/main/py-dbus/APKBUILD
blob: 2d5d9ed5a8633f6e8f59507456db6f7146aa914e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-dbus
pkgver=0.83.1
pkgrel=1
pkgdesc="Python bindings for DBUS"
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
arch="all"
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"