Files
chromebrew/packages/xe.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* 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)
2024-01-25 11:03:31 -05:00

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