mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
* Update acpica homepage * Update aide homepage * Update aliyun_cli homepage * Update alpine homepage * Update anagram source_url * Update ant homepage * Update apktool homepage * Update appres homepage * Update appstream homepage * Update apr_iconv homepage * Update apr_util homepage * Update armadillo homepage * Update asciidoc homepage * Update at_spi2_core homepage * Update avahi homepage * Update aview homepage * Update babl homepage * Update balena_etcher homepage * Update banner homepage * Update bashdb homepage * Update bdftopcf homepage * Update bind homepage * Update bitmap homepage * Update bitpocket homepage * Update bluefish homepage * Update bmon homepage * Update brackets homepage * Update broadway homepage * Update broot homepage * Update byobu homepage * Update c_ares homepage * Update calcurse homepage * Update ccache homepage * Update cf homepage * Update chrome homepage * Update chrpath homepage * Update ck4up homepage * Update ckermit homepage
40 lines
1.1 KiB
Ruby
40 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Broot < Package
|
|
description 'A new way to see and navigate directory trees'
|
|
homepage 'https://dystroy.org/broot/'
|
|
version '1.11.1'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/Canop/broot/archive/v1.11.1.tar.gz'
|
|
source_sha256 '0cc09d5bcc5c6b80d6161c2ba234df0332c1dabd6c3c9f2f6ebe2f82b8eef5c3'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '8d4aaa0b51e835863c4fe934958b295dcac68439d82b5dcef78f7939421cf131',
|
|
armv7l: '8d4aaa0b51e835863c4fe934958b295dcac68439d82b5dcef78f7939421cf131',
|
|
i686: 'aa70d49725d6c1010c2655e1065d7681f2f384daab534542d245423d074dfe4f',
|
|
x86_64: '5eed408affc3b87e22994370f0b21566bc05988ab43640c7d949e47cfb6567ec'
|
|
})
|
|
|
|
depends_on 'rust' => :build
|
|
|
|
def self.build
|
|
system 'cargo fetch \
|
|
--manifest-path Cargo.toml'
|
|
system 'cargo build \
|
|
--release \
|
|
--frozen \
|
|
--manifest-path Cargo.toml'
|
|
end
|
|
|
|
def self.install
|
|
system "cargo install \
|
|
--frozen \
|
|
--offline \
|
|
--no-track \
|
|
--path . \
|
|
--root #{CREW_DEST_PREFIX}"
|
|
end
|
|
end
|