diff options
author | Tim Biermann <tbier@posteo.de> | 2019-12-29 16:15:36 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2019-12-29 16:15:36 +0100 |
commit | 59ca7e0a2e05e2a348eee59ae0adf8317993c412 (patch) | |
tree | 208a05f67c4ab08d30b7c61ff427a11784a3a6c5 /dbus-python3/Pkgfile | |
parent | 38cd6060f1a7750e14c8ef91202313263c6c4681 (diff) | |
download | contrib-59ca7e0a2e05e2a348eee59ae0adf8317993c412.tar.gz contrib-59ca7e0a2e05e2a348eee59ae0adf8317993c412.tar.xz |
dbus-python3: initial commit, version 1.2.14
Diffstat (limited to 'dbus-python3/Pkgfile')
-rw-r--r-- | dbus-python3/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dbus-python3/Pkgfile b/dbus-python3/Pkgfile new file mode 100644 index 000000000..7e300d1f9 --- /dev/null +++ b/dbus-python3/Pkgfile @@ -0,0 +1,21 @@ +# Description: D-Bus Python bindings +# URL: http://freedesktop.org/wiki/Software/DBusBindings +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: dbus-glib + +name=dbus-python3 +version=1.2.14 +release=1 +source=(https://dbus.freedesktop.org/releases/dbus-python/dbus-python-$version.tar.gz) + +build() { + cd dbus-python-$version + mkdir build && cd build + PYTHON=/usr/bin/python3 \ + ../configure --prefix=/usr + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make + make DESTDIR=$PKG install + rm -fr $PKG/usr/{share,include} + mv $PKG/usr/lib/pkgconfig/dbus-python.pc $PKG/usr/lib/pkgconfig/dbus-python3.pc +} |