Files
ports/core/python-dbus-common/spkgbuild

24 lines
633 B
Plaintext
Executable File

# description : Common dbus-python files shared between python2-dbus and python3-dbus
# homepage : https://www.freedesktop.org/wiki/Software/DBusBindings
# maintainer : Emmett1, emmett1.2miligrams at gmail.com
# depends : dbus python3 dbus-glib
name=python-dbus-common
version=1.2.8
release=1
source=(http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$version.tar.gz)
md5sum=(7379db774c10904f27e7e2743d90fb43)
build() {
cd dbus-python-$version
mkdir python3
pushd python3
PYTHON=/usr/bin/python3 \
../configure --prefix=/usr
make
popd
make -C python3 DESTDIR=$PKG install-data
rm -rf $PKG/usr/lib/python*
}