index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | update-archlinux32-package | 11 |
diff --git a/update-archlinux32-package b/update-archlinux32-package index a698fde..bf5cf56 100755 --- a/update-archlinux32-package +++ b/update-archlinux32-package @@ -92,7 +92,7 @@ case "${pkgname}" in # upstream, though) update_path='archlinuxewe' ;; - 'archiso'|'eclipse'|'flashplugin') + 'archiso'|'eclipse'|'flashplugin'|'freebasic') # an upstream package which is updated by solely updating its checksum update_path='checksum' ;; @@ -215,12 +215,19 @@ case ${update_path} in echo "arch+=(i686)" >> PKGBUILD makepkg -g ' < "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" \ + | sed -n "$( + sed ' + s,^\([^[:space:]=]\+sums\(_[^[:space:]=]\+\)\?=\).*$,/^\1/ p, + t + d + ' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" \ + | sort -u + )" \ | sed ' $! s/$/\\n/ ' | \ tr -d '\n' ) - echo "'$sums'" sed -i ' /^\S\+sums\(_[^=]\+\)\?=(/{ :a |