This PKGBUILD repository is a fork of figue’s aur linux-xanmod-lts repo which modified by me relied on my own homework. Thus this project may not compatible with your aimed purpose.
Usage:
./Make.sh --help
Or directly run
make build/stock
to build a default stock kernel package.