diff --git a/PKGBUILD b/PKGBUILD index cad0775..746b1d5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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"