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

29 lines
1.0 KiB
Ruby

require 'package'
class Hicolor_icon_theme < Package
description 'Icon-theme contains the standard also references the default icon theme called hicolor.'
homepage 'https://www.freedesktop.org/wiki/Software/icon-theme/'
version '0.17'
license 'GPL-2'
compatibility 'all'
source_url 'https://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.17.tar.xz'
source_sha256 '317484352271d18cbbcfac3868eab798d67fff1b8402e740baa6ff41d588a9d8'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '3341e27bb5e2ea8c55b573c32bf34ba4e88da50c6cc1d865eb1c2d91232d44e6',
armv7l: '3341e27bb5e2ea8c55b573c32bf34ba4e88da50c6cc1d865eb1c2d91232d44e6',
i686: '574db604ef7db3b401e56ce4387e2a488952fcfa308316cc7127f872ee87557c',
x86_64: 'f0640114582b89e78c5e884e801d512b3a0f484443fdc0157a6f4db289261bae'
})
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end