mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package * Remove binary_url values and arrays * Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
This commit is contained in:
committed by
GitHub
parent
68d15ff629
commit
f6dc1d8d4e
@@ -11,12 +11,8 @@ class Caja < Autotools
|
||||
compatibility 'x86_64 aarch64 armv7l'
|
||||
source_url "https://pub.mate-desktop.org/releases/#{version.rpartition('.')[0]}/caja-#{version}.tar.xz"
|
||||
source_sha256 '646ae6aa5174a765f2a4a6bc4ad4efd6b801f475f0aa7c2fd7e71bd84b5632bb'
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/caja/1.27.2_armv7l/caja-1.27.2-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/caja/1.27.2_armv7l/caja-1.27.2-chromeos-armv7l.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/caja/1.27.2_x86_64/caja-1.27.2-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '568e4400b459e79c878bfd9fd5031e13d813ff5667e2d60cec9654195da42c6a',
|
||||
armv7l: '568e4400b459e79c878bfd9fd5031e13d813ff5667e2d60cec9654195da42c6a',
|
||||
|
||||
Reference in New Issue
Block a user