Am 29.07.2010 11:16, schrieb Evangelos Foutras:
On Thu, Jul 29, 2010 at 12:12 PM, Evangelos Foutras<foutrelis@gmail.com> wrote:
On Thu, Jul 29, 2010 at 11:57 AM, Magnus Therning<magnus@therning.org> wrote:
makepkg has support for using hashes besides md5, but is there a way to get 'makepkg -g' to generate any hashes besides md5? makepkg generates checksums based on the hash algorithm used in the PKGBUILD. For example, if the PKGBUILD contains sha1sums, makepkg will also output sha1sums. Oh, and if multiple sets of checksums (e.g.: md5sums and sha1sums) are included in the PKGBUILD, makepkg will also output multiple sets of (updated) checksums. is there a way to replace the old sum with the new sum with makepkg -g? e.g. somewhere in there middle in the PKGBUILD is md5sums = OLD and i want it updated there. if i would do makepkg -g >> PKGBUILD, i would have it double.