diff options
-rwxr-xr-x | upgpkg | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -102,6 +102,7 @@ fi sed -i "s/pkgver=.*$/pkgver=$1/g" PKGBUILD sed -i "s/pkgrel=.*$/pkgrel=1/g" PKGBUILD +makepkg -g awk <PKGBUILD '$0 ~ /^(md5|sha[0-9]+)sums/ {i = 1; if(!run==1) {system("makepkg -g 2>/dev/null")}; run=1; }; !i {print}; $0 ~ /\)/ {i = 0}' | sponge PKGBUILD source PKGBUILD |