diff options
-rwxr-xr-x | upgpkg | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -7,7 +7,7 @@ # I place this script in the public domain. -VERSION=0.4 +VERSION=0.5 # from makepkg unset ALL_OFF BOLD BLUE GREEN RED YELLOW @@ -102,7 +102,7 @@ fi sed -i "s/pkgver=.*$/pkgver=$1/g" PKGBUILD sed -i "s/pkgrel=.*$/pkgrel=1/g" PKGBUILD -makepkg -g +makepkg -g || exit 1 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 @@ -110,12 +110,4 @@ if [ -f "upgpkg" ]; then source ./upgpkg fi -for i in $gpgsource; do - sigfile="${i##*/}" - if [[ $sigfile != $i ]]; then - wget -nv -O "$sigfile" "$i" - fi - gpg2 --verify "$sigfile" || die "Signature verification failed!" -done - scriptlet build |