mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -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
@@ -8,13 +8,8 @@ class Mosh < Package
|
||||
compatibility 'all'
|
||||
source_url 'https://mosh.org/mosh-1.3.2.tar.gz'
|
||||
source_sha256 'da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216'
|
||||
binary_compression 'tar.xz'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mosh/1.3.2-3_armv7l/mosh-1.3.2-3-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mosh/1.3.2-3_armv7l/mosh-1.3.2-3-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mosh/1.3.2-3_i686/mosh-1.3.2-3-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mosh/1.3.2-3_x86_64/mosh-1.3.2-3-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '206acadc595fd9645a1b1f31293774c8aaaae75f6ea3f0ae766c8915a0657c75',
|
||||
armv7l: '206acadc595fd9645a1b1f31293774c8aaaae75f6ea3f0ae766c8915a0657c75',
|
||||
|
||||
Reference in New Issue
Block a user