PULSE_DIR="$(find /tmp/ -maxdepth 1 -name pulseaudio-[0-9]\*)"
cd $PULSE_DIR
dpkg-buildpackage -rfakeroot -uc -b
cd /tmp
git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git
cd /tmp/pulseaudio-module-xrdp
./bootstrap && ./configure PULSE_DIR=$PULSE_DIR
make
mkdir -p /tmp/so
cp src/.libs/*.so /tmp/so