summaryrefslogtreecommitdiffstats
path: root/recalulate_sums.sh
blob: a24e5a17acd9cd0b531dbf544d2d42de35601f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# sed line from upgpkg
sed -r '/.*sums[ ]?\=/{:a; /\)/d; N; ba;}' */PKGBUILD -i

for folder in */; do
  pushd .
  cd $folder
  makepkg -g >> PKGBUILD
  popd
done