Files
ports/archived/python2-dbus/spkgbuild
2022-11-02 08:50:51 +00:00

21 lines
433 B
Plaintext
Executable File

# description : Python2 bindings to the D-Bus
# depends : dbus python2 python3-dbus dbus-glib
name=python2-dbus
version=1.2.18
release=1
source="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$version.tar.gz"
build() {
cd dbus-python-$version
PYTHON=/usr/bin/python2 \
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
rm -rf $PKG/usr/include
rm -rf $PKG/usr/lib/pkgconfig
}