summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package11
1 files changed, 9 insertions, 2 deletions
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