index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-02-22 11:07:11 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-22 11:07:11 +0100 |
commit | 297ac8db50a2514b8da2c461bc15ede7885e6408 (patch) | |
tree | b46881f981fd0c2f6b0053d68efbfac465c93700 /update-archlinux32-package | |
parent | d3fec099a945516322286cfd05e305ab819b721d (diff) |
-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 |