[arch-general] [PATCH] add upgpkg
Signed-off-by: Florian Pritz
On Monday 01 November 2010 14:38:23 Florian Pritz wrote:
+if [ -x "rebuild" ]; then + ./rebuild +else + makepkg +fi Which official script is named 'rebuild'? And, this script does not use a chroot to build the package!
-- Andrea Scarpino Arch Linux Developer
On Mon, 2010-11-01 at 16:25 +0100, Andrea Scarpino wrote:
On Monday 01 November 2010 14:38:23 Florian Pritz wrote:
+if [ -x "rebuild" ]; then + ./rebuild +else + makepkg +fi Which official script is named 'rebuild'? And, this script does not use a chroot to build the package!
And official packages should never ever just "makepkg -g" without actually checking the checksums generated by that. I always copy&paste the sha1sums or sha256sums into the PKGBUILD from announcement mails, so I know that a downloaded tarball is the same one that is announced in my mailbox.
On 01.11.2010 16:25, Andrea Scarpino wrote:
On Monday 01 November 2010 14:38:23 Florian Pritz wrote:
+if [ -x "rebuild" ]; then + ./rebuild +else + makepkg +fi Which official script is named 'rebuild'? And, this script does not use a chroot to build the package!
Because everyone handles chroots differently I just call a script called "rebuild" from the same directory the PKGBUILD is in. There you can run some build function and then automatically release the package. (extra-i686-build; communitypkg) -- Florian Pritz -- {flo,bluewind}@server-speed.net
This version replaces (no longer appends) the old checksums instead of using those specified by INTEGRITY_CHECK in makepkg.conf. If there are multiple checksums in the PKGBUILD, it will replace the first one and move the new ones to it's place. It also uses a file called "upgpkg" as a scriptlet file (similar to pacman's install files) It can be generated by running upgpkg -g. The functions used could also be defined in the PKGBUILD, but I think that's not really what one should do.
Add colors and the possibility to check gpg signatures. $gpgsources can be added to ./upgpkg or the PKGBUILD.
Signed-off-by: Florian Pritz
This helper is neat, I like it. Any chance to get it into devtools?
Signed-off-by: Florian Pritz
participants (5)
-
Andrea Scarpino
-
Florian Pritz
-
Florian Pritz
-
Jan de Groot
-
Sven-Hendrik Haase