Files
chromebrew/packages/screenfetch.rb
Maximilian Downey Twiss de24923ee8 Add Rubocop CI (#7083)
* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2022-08-22 13:31:25 -04:00

32 lines
1.5 KiB
Ruby

require 'package'
class Screenfetch < Package
description 'Fetches system/theme information in terminal for Linux desktop screenshots.'
homepage 'https://github.com/KittyKatt/screenFetch'
version '3.9.1'
license 'GPL-3'
compatibility 'all'
source_url 'https://github.com/KittyKatt/screenFetch/archive/v3.9.1.tar.gz'
source_sha256 'aa97dcd2a8576ae18de6c16c19744aae1573a3da7541af4b98a91930a30a3178'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/screenfetch/3.9.1_armv7l/screenfetch-3.9.1-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/screenfetch/3.9.1_armv7l/screenfetch-3.9.1-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/screenfetch/3.9.1_i686/screenfetch-3.9.1-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/screenfetch/3.9.1_x86_64/screenfetch-3.9.1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '3cd66c744cc13b3527d1b0840a7a2093ac45c1bf2fb10871ccc8a63a3e98c948',
armv7l: '3cd66c744cc13b3527d1b0840a7a2093ac45c1bf2fb10871ccc8a63a3e98c948',
i686: '8c601b89335b94383480a9fd0e0fe6ac5fe364d27e4a5a8df19319df9b22aacd',
x86_64: 'dcadb8b83bf61c17e40f0505dca47f50e7b177a55e79614fdf64a3b78410b404'
})
depends_on 'bc'
def self.install
system "install -Dm755 screenfetch-dev #{CREW_DEST_PREFIX}/bin/screenfetch"
system "install -D screenfetch.1 #{CREW_DEST_PREFIX}/man/man1/screenfetch.1"
end
end