Commit 11bf2e42 authored by Mia's avatar Mia Committed by GitHub

Add adobe 100dpi fonts (#4601)

parent 64cd9fa0
require 'package'
class Encodings < Package
description 'X11 Font Index Generator'
homepage 'https://xorg.freedesktop.org'
version '1.0.5'
compatibility 'all'
source_url 'https://www.x.org/releases/individual/font/encodings-1.0.5.tar.bz2'
source_sha256 'bd96e16143a044b19e87f217cf6a3763a70c561d1076aad6f6d862ec41774a31'
def self.build
system "./configure #{CREW_OPTIONS} --with-fontrootdir=#{CREW_PREFIX}/share/fonts"
system "sed -e 's|^\(encodings_DATA = $(DATA_FILES)\).*|\1|' -i Makefile" # Found in xbps-src
system 'make'
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
end
end
require 'package'
class Font_adobe_100dpi < Package
description 'Standard 100dpi Adobe PCF fonts'
homepage 'https://xorg.freedesktop.org/'
version '1.0.3'
compatibility 'all'
source_url 'https://www.x.org/releases/individual/font/font-adobe-100dpi-1.0.3.tar.bz2'
source_sha256 'b2c08433eab5cb202470aa9f779efefce8d9cab2534f34f3aa4a31d05671c054'
depends_on 'bdftopcf'
depends_on 'font_util'
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
require 'package'
class Font_adobe_utopia_100dpi < Package
description '100dpi Adobe Utopia PCF fonts'
homepage 'https://xorg.freedesktop.org/'
version '1.0.4'
compatibility 'all'
source_url 'https://www.x.org/releases/individual/font/font-adobe-utopia-100dpi-1.0.4.tar.bz2'
source_sha256 'd16f5e3f227cc6dd07a160a71f443559682dbc35f1c056a5385085aaec4fada5'
depends_on 'bdftopcf'
depends_on 'font_util'
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
require 'package'
class Font_adobe_utopia_type1 < Package
description 'Adobe Utopia Type1 fonts'
homepage 'https://xorg.freedesktop.org/'
version '1.0.4'
compatibility 'all'
source_url 'https://www.x.org/releases/individual/font/font-adobe-utopia-type1-1.0.4.tar.bz2'
source_sha256 '979435105f897a70f8993fa02c8362160b0513366c2ab896965416f96dbb8077'
depends_on 'bdftopcf'
depends_on 'font_util'
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment