My PKGBUILD for dwm based on this PKGBUILD for Arch Build System.
- Run
makepkg
to clone dwm repository then remove unnecessary package. - Change directory to
./src/dwm
- Create git branch named user
git checkout -b user
- Apply patches and/or change your
config.h
- Commit your changes with
git commit
(don't forget togit add config.h
first if you change it!) - Return to directory where PKGBUILD located
- Run makepkg with desired flags e.g.
makepkg -si