Files
ports/core/python3-dbus/spkgbuild
2018-04-26 09:44:16 +08:00

29 lines
668 B
Plaintext
Executable File

# description : Python3 bindings to the D-Bus
# homepage : http://www.freedesktop.org/wiki/Software/DBusBindings
# maintainer : Emmett1, emmett1.2miligrams at gmail.com
# depends : dbus python3 python-dbus-common
# makedepends : dbus-glib
name=python3-dbus
version=1.2.6
release=1
source=(http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$version.tar.gz)
build() {
cd dbus-python-$version
mkdir python3
pushd python3
PYTHON=/usr/bin/python3 \
../configure --prefix=/usr
make
popd
make -C python3 DESTDIR=$PKG install
rm -rf $PKG/usr/share
rm -rf $PKG/usr/include
rm -rf $PKG/usr/lib/pkgconfig
}
md5sum=(1ce1ddf2582060f8f971652ea54cc17e)