Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package5
1 files changed, 3 insertions, 2 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index e45b892..92afa57 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -101,7 +101,7 @@ case "${pkgname}" in
# an upstream package which is updated by solely updating its checksum
update_path='checksum'
;;
- 'python-pip-bootstrap')
+ 'python-pip-bootstrap'|'python-setuptools-bootstrap')
# a package without upstream which is updated by updating its
# version (according to watch-versions) and checksum
update_path='version and checksum without upstream'
@@ -278,7 +278,8 @@ case ${update_path} in
exit
fi
sed -i '
- s/^pkgver=.*$/pkgver='"'${newver}'"'/
+ s/^epoch=.*$/epoch='"'${newver%:*}'"'/
+ s/^pkgver=.*$/pkgver='"'${newver#*:}'"'/
s/^pkgrel=.*$/pkgrel='"'1'"'/
' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD"
git -C "${git_repo_path}/${repo}/${pkgname}" diff HEAD -- PKGBUILD