added aur pkgbuild pre-commit hook
This commit is contained in:
parent
8f6929758b
commit
132330ddf6
10
pre-commit/aur-pkgbuild
Normal file
10
pre-commit/aur-pkgbuild
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user