mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
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>
This commit is contained in:
committed by
GitHub
parent
4c0f15a6f3
commit
de24923ee8
@@ -9,25 +9,25 @@ class Libxkbfile < Package
|
||||
source_url 'https://www.x.org/archive/individual/lib/libxkbfile-1.1.0.tar.bz2'
|
||||
source_sha256 '758dbdaa20add2db4902df0b1b7c936564b7376c02a0acd1f2a331bd334b38c7'
|
||||
|
||||
binary_url ({
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxkbfile/1.1.0_armv7l/libxkbfile-1.1.0-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxkbfile/1.1.0_armv7l/libxkbfile-1.1.0-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxkbfile/1.1.0_i686/libxkbfile-1.1.0-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxkbfile/1.1.0_x86_64/libxkbfile-1.1.0-chromeos-x86_64.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libxkbfile/1.1.0_x86_64/libxkbfile-1.1.0-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
binary_sha256({
|
||||
aarch64: '667eac3dcdb3e4c79531f3263a5c98696d41650c15bd9b478f80ff77bcbb67f0',
|
||||
armv7l: '667eac3dcdb3e4c79531f3263a5c98696d41650c15bd9b478f80ff77bcbb67f0',
|
||||
i686: 'c2d5729b30872dcaddd114cca044f91e30fc3a2dcdb9f16f5a4177c99a66dd66',
|
||||
x86_64: 'c3e8e8a1c2d34c36ac75eab039ab0eaca01cedd5fe8406a582cc9bdd256fec63',
|
||||
x86_64: 'c3e8e8a1c2d34c36ac75eab039ab0eaca01cedd5fe8406a582cc9bdd256fec63'
|
||||
})
|
||||
|
||||
def self.build
|
||||
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
|
||||
system "make"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user