ref pre commit hook for makepkg

This commit is contained in:
thek4n 2023-12-22 22:26:04 +03:00
parent 967a6fa4e9
commit 92a1f63c9e

View File

@ -1,6 +1,6 @@
#!/bin/sh
if [ -e PKGBUILD ]
then
set -e
if command -v makepkg >/dev/null && [ -e PKGBUILD ]; then
makepkg --printsrcinfo > .SRCINFO
git add .SRCINFO
exit