diff --git a/pre-commit/aur-pkgbuild b/pre-commit/aur-pkgbuild new file mode 100644 index 0000000..10d3d49 --- /dev/null +++ b/pre-commit/aur-pkgbuild @@ -0,0 +1,10 @@ +#!/bin/sh + +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice and this +# notice are preserved. This file is offered as-is, without any warranty. + +# Hook to generate & add .SRCINFO to AUR PKGBUILD commits. + +makepkg --printsrcinfo > .SRCINFO +git add .SRCINFO