mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Update micro package (#10275)
* Update micro package * chore: clean up binary definitions * fix: update sha256 for x86 --------- Co-authored-by: Ihor <strum.at.sky@gmail.com>
This commit is contained in:
@@ -3,30 +3,25 @@ require 'package'
|
||||
class Micro < Package
|
||||
description 'A modern and intuitive terminal-based text editor'
|
||||
homepage 'https://micro-editor.github.io/'
|
||||
version '1.4.1'
|
||||
version '2.0.13'
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
binary_compression 'tar.xz'
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
no_compile_needed
|
||||
|
||||
case ARCH
|
||||
when 'aarch64', 'armv7l'
|
||||
source_url 'https://github.com/zyedidia/micro/releases/download/v1.4.1/micro-1.4.1-linux-arm.tar.gz'
|
||||
source_sha256 '3d7a2d1df344fbf0d3bd76f6a6748e490d80c8dfd5f9e8539b25997d459c5411'
|
||||
source_url 'https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux-arm.tar.gz'
|
||||
source_sha256 'adb9cf644354a5c85819db40e1a427f0f4951b172597bbcd3ef94ecc4a8c4b75'
|
||||
when 'i686'
|
||||
source_url 'https://github.com/zyedidia/micro/releases/download/v1.4.1/micro-1.4.1-linux32.tar.gz'
|
||||
source_sha256 'd72d511b4f0fec5bb614b38607e68c5f0918f836d0f60e87c48f0b18e2eab916'
|
||||
source_url 'https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux32.tar.gz'
|
||||
source_sha256 'a711d7281152b2b578a7b91bca70fe6782ca3e317e99be640dbb6bb3eb5a2bcd'
|
||||
when 'x86_64'
|
||||
source_url 'https://github.com/zyedidia/micro/releases/download/v1.4.1/micro-1.4.1-linux64.tar.gz'
|
||||
source_sha256 'e7d4c9427f9fdfed78e69d42cf518e93ae15fc8f70b7f0f87d292ed81206e900'
|
||||
source_url 'https://github.com/zyedidia/micro/releases/download/v2.0.13/micro-2.0.13-linux64.tar.gz'
|
||||
source_sha256 'a50e405d3d09d58f6b2c182429c18537a05f317dc0c3c9cb834b3271362e4781'
|
||||
end
|
||||
|
||||
binary_sha256({
|
||||
aarch64: '305c70b8ae3ff6e8e80baf8d9af09db29b11fd3e40d381c787ee1f88406cc166',
|
||||
armv7l: '305c70b8ae3ff6e8e80baf8d9af09db29b11fd3e40d381c787ee1f88406cc166',
|
||||
i686: 'f92d08c76dc125b24674754b3a29ae94bccbfe2bcfca68ae21384e2215054a74',
|
||||
x86_64: '64028544e15314a6a576521a7d21e156b9e82eda91fda40033ec19e2c75d1881'
|
||||
})
|
||||
|
||||
def self.install
|
||||
system "install -Dm755 micro #{CREW_DEST_PREFIX}/bin/micro"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user