This is a terse document covering the anatomy of a package built for the pacman package manager.
The following example commands can mostly run verbatim to manually create a
| /* | |
| compile with: | |
| gcc -shared -fPIC fix_umask.c -o fix_umask.so | |
| edit /usr/bin/subl to include (fix the path to fix_umask.so if necessary): | |
| #!/bin/sh | |
| export LD_PRELOAD=/opt/sublime_text/fix_umask.so | |
| exec /opt/sublime_text/sublime_text "$@" |