Partial revert of be3eead636 . We still need to offer the header file for -complete- wine builds 🐸

This commit is contained in:
Tk-Glitch 2021-03-14 17:35:04 +01:00
parent be3eead636
commit ea0b09ce93

View File

@ -545,6 +545,12 @@ hackbase() {
# install customization file, for reference
install -Dm644 "${srcdir}"/customization-full.cfg "${pkgdir}/usr/share/doc/${pkgbase}/customization.cfg"
# workaround for missing header with winesync
if [ -e "${srcdir}/winesync.rules" ]; then
msg2 "Workaround missing winesync header"
install -Dm644 "${srcdir}/${_srcpath}"/include/uapi/linux/winesync.h "${pkgdir}/usr/include/linux/winesync.h"
fi
# load winesync module at boot
if [ -e "${srcdir}/winesync.conf" ]; then
msg2 "Set the winesync module to be loaded at boot through /etc/modules-load.d"