mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 16:08:08 -05:00
* 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)
28 lines
889 B
Ruby
28 lines
889 B
Ruby
require 'package'
|
|
|
|
class Xe < Package
|
|
description 'simple xargs and apply replacement.'
|
|
homepage 'https://github.com/chneukirchen/xe/'
|
|
version '0.11'
|
|
license 'public-domain'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/chneukirchen/xe/archive/v0.11.tar.gz'
|
|
source_sha256 '4087d40be2db3df81a836f797e1fed17d6ac1c788dcf0fd6a904f2d2178a6f1a'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '731178af47f83d6918dfd9967d57113f6552c48dc68a98c0c11837469f044540',
|
|
armv7l: '731178af47f83d6918dfd9967d57113f6552c48dc68a98c0c11837469f044540',
|
|
i686: 'b0db75159f9e4462852175ac47cf07f0f9e3f2962ac262df3daaa90b6f792e0b',
|
|
x86_64: '7ce6835e608e0638f5604eef58007735b42f9fcdc0e2d9f6811c93cf844aac27'
|
|
})
|
|
|
|
def self.build
|
|
system 'make', "PREFIX=#{CREW_PREFIX}"
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|