mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -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)
33 lines
1.0 KiB
Ruby
33 lines
1.0 KiB
Ruby
require 'package'
|
|
|
|
class Font_jis_misc < Package
|
|
description '78dpi PCF versions of the Japanese fixed fonts'
|
|
homepage 'https://xorg.freedesktop.org/'
|
|
version '1.0.3'
|
|
license 'custom'
|
|
compatibility 'all'
|
|
source_url 'https://www.x.org/releases/individual/font/font-jis-misc-1.0.3.tar.bz2'
|
|
source_sha256 '2b18ce10b367ebafe95a17de799b6db9a24e2337188d124adaf68af05b1fac65'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '5b076de8ecbaf59eec8e7c58657742a0cd6c9d4b874a188d2ea59fca40832302',
|
|
armv7l: '5b076de8ecbaf59eec8e7c58657742a0cd6c9d4b874a188d2ea59fca40832302',
|
|
i686: '023d76e3324d1daca014d7985c99d15ac537ab6b6e357ee8e870847f5bd7744f',
|
|
x86_64: '829051dc56b5b93dc942dbd429ca93e4e14c0c5e810aa7e566fa26b434a46cf5'
|
|
})
|
|
|
|
depends_on 'bdftopcf'
|
|
depends_on 'font_util'
|
|
depends_on 'mkfontscale'
|
|
|
|
def self.build
|
|
system "./configure #{CREW_OPTIONS} --with-fontrootdir=#{CREW_PREFIX}/share/fonts"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "make install DESTDIR=#{CREW_DEST_DIR}"
|
|
end
|
|
end
|