1 2 3 4 5 6 7 8 9
#!/bin/sh DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" echo Updating .SRCINFO cd "$DIR" makepkg --printsrcinfo > .SRCINFO git add .SRCINFO