Files
chromebrew/packages/yaru.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

34 lines
1.0 KiB
Ruby

require 'package'
class Yaru < Package
description 'Yaru default ubuntu theme'
homepage 'https://github.com/ubuntu/yaru'
version '21.04.1'
license 'GPL-3 and CC-BY-SA-4.0'
compatibility 'all'
source_url "https://github.com/ubuntu/yaru/archive/refs/tags/#{version}.tar.gz"
source_sha256 '8cbbb1fcc7fa1e46e48d870cc1f941069e8213ac53200001aa9548ad79086836'
binary_compression 'tar.xz'
binary_sha256({
aarch64: 'b13e932b15e3867f2243d230cc6cdb36c475227a7167e298634cb72a48e37d0c',
armv7l: 'b13e932b15e3867f2243d230cc6cdb36c475227a7167e298634cb72a48e37d0c',
i686: 'e80256dad9b7a6cb34c3316a8138a038f7cfd8ff31ab0f5d062a11d553aebc61',
x86_64: '8642491d0f1fc9a77047bc7ff348b8f8af381255e1b40dfb1226f0855c40176c'
})
depends_on 'sassc'
def self.build
system "meson setup #{CREW_MESON_OPTIONS} \
-Dubuntu-unity=true \
build"
system 'meson configure build'
system 'ninja -C build'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
end
end