It requires some edit to the build script indeed (and some to seahub’s build-server.py too).
But you can can try something like this:
cd seafile-server-11.0.3
mkdir -p pro/python
cp seahub/scripts/pro.py pro
cd pro/python
git clone --branch v11.0.3-server --depth 1 https://github.com/haiwen/seafevents.git
Don’t remember exactly but then you may need to create a seafevents.conf file in your conf directory:
[DATABASE]
type = mysql
host = 127.0.0.1
port = 3306
username = seafile
password = secret
name = seahub_db
[SEAHUB EMAIL]
enabled = false
interval = 30m
[STATISTICS]
enabled = false