aur-packages/_scripts/build_srcinfo.fish

8 lines
144 B
Fish

fd PKGBUILD |
while read -l pkgfile
set pkgdir (dirname $pkgfile)
pushd $pkgdir && begin
makepkg --printsrcinfo > .SRCINFO
end && popd
end