Add PKGBUILD mode
Improve to auto mode patterns

Take directory separators into account.