summaryrefslogtreecommitdiff
path: root/legacy/dbus-python/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 04:37:45 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 04:37:45 -0500
commitc57f36a49b0e56d52382f3bdb2558baece5677ec (patch)
treef3bccc15202196dd15d9704e15ffa68c6079a772 /legacy/dbus-python/APKBUILD
parentdde7c77d0c5af6b66a6ca69376135558b7c11e8c (diff)
downloadpackages-c57f36a49b0e56d52382f3bdb2558baece5677ec.tar.gz
packages-c57f36a49b0e56d52382f3bdb2558baece5677ec.tar.bz2
packages-c57f36a49b0e56d52382f3bdb2558baece5677ec.tar.xz
packages-c57f36a49b0e56d52382f3bdb2558baece5677ec.zip
user/py-dbus => legacy/dbus-python
Diffstat (limited to 'legacy/dbus-python/APKBUILD')
-rw-r--r--legacy/dbus-python/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/legacy/dbus-python/APKBUILD b/legacy/dbus-python/APKBUILD
new file mode 100644
index 000000000..87da11915
--- /dev/null
+++ b/legacy/dbus-python/APKBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=py-dbus
+pkgver=1.2.0
+pkgrel=3
+pkgdesc="Python bindings for DBUS"
+url="http://www.freedesktop.org/wiki/Software/DBusBindings"
+arch="all"
+license="GPL LGPL"
+depends="python3"
+depends_dev="py-dbus"
+makedepends="dbus-glib-dev python3-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$pkgver.tar.gz"
+
+builddir="$srcdir"/dbus-python-$pkgver
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="b09cd2d1a057cc432ce944de3fc06bf7 dbus-python-1.2.0.tar.gz"
+sha256sums="e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df dbus-python-1.2.0.tar.gz"
+sha512sums="013b23e08fa1ed43f53a756587fefbc9770f7c51e93510e555acbd77230b7200693419bba9a69680d790bbaf123f4a195afa38b3eee1143da950fee0b5130bce dbus-python-1.2.0.tar.gz"