mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Crew profile base (#5503)
* Make basic crew-profile-base package * Use crew consts * Upgrade to 0.0.2-pre2 * Convert aa* to cf* * Docbook * aa* to dz* * docbook-xsl * through fz* and fix environment variables * through mz* * through pz* * through zz* * fix crew-profile-base * upgrade crew-profile-base * major crew-profile-base changes * Upgrade crew-profile-base and fix xdg-base * fix sha256sum * Remove stale files * pkgsrc and sommelier * Add crew-profile-base to core packages and ready for merging * Bump versions * prevent conflicts with #5494 * fix sha256sum * fix fop * profile.d is not ours * fix bash * Upgrade crew-profile-base to 0.0.1-pre6 and fix bash * Remove self-referencing comment * Add binaries, fix rust, fix #{@ver} * move compatibility line * add core mandb deps back * File.exists? => File.exist? * deduplicate @env * update packages * Fix gdk_pixbug source url * Add binaries, use rubocop style fixes * Update cf from 6.36.1-1 to 6.53.0 * fix sl * fix depot tools * remove apulse since it conflicts with pulseaudio. * refactor crew_profile_base * first tranche of builds * go * add cf * hunspell * transmission * clean up dependency & env situation for gdk_pixbuf * fix gettext * fix nano * fix intel-media-driver * add zziplib for texlive * fix texlive * split fuse for flatpak * fix flatpak * delete rack (broken and unmaintained) * fix packer completion * modify and fix sl * fix s * fix stressng * fix stack * Add TMPDIR * Remove TMPDIR from build files * Fix aws2 version * Go: remove extraneous dependency * hunspell_fr_fr: use french in description * intel media driver: remove case x86_64 * aws2: quickfix * everything but texlive * texlive * fix stressng * Delete pkgsrc.rb * add back pkgsrc Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Ed Reel <edreel@gmail.com> Co-authored-by: satmandu <satadru@umich.edu>
This commit is contained in:
committed by
GitHub
parent
2dd3b6a45b
commit
d6e779ccd3
@@ -3,23 +3,18 @@ require 'package'
|
||||
class Docbook_xml < Package
|
||||
description 'Meta package for all versions of docbook_xml'
|
||||
homepage 'http://www.docbook.org'
|
||||
version '5.1-2'
|
||||
version '5.1-2-1'
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
|
||||
is_fake
|
||||
|
||||
# Docbook common postinstall block
|
||||
ENV['XML_CATALOG_FILES'] = "#{CREW_PREFIX}/etc/xml/catalog"
|
||||
|
||||
xml_catalog_files_in_bashrc = `grep -c "XML_CATALOG_FILES" ~/.bashrc || true`
|
||||
unless xml_catalog_files_in_bashrc.to_i.positive?
|
||||
puts "Putting \"export XML_CATALOG_FILES=#{CREW_PREFIX}/etc/xml/catalog\" in ~/.bashrc".lightblue
|
||||
system "echo 'export XML_CATALOG_FILES=#{CREW_PREFIX}/etc/xml/catalog' >> ~/.bashrc"
|
||||
puts 'To complete the installation, execute the following:'.orange
|
||||
puts 'source ~/.bashrc'.orange
|
||||
end
|
||||
# End Docbook common postinstall block
|
||||
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/env.d/"
|
||||
@env = <<~EOF
|
||||
# Docbook_xml configuration
|
||||
XML_CATALOG_FILES=#{CREW_PREFIX}/etc/xml/catalog
|
||||
EOF
|
||||
IO.write("#{CREW_DEST_PREFIX}/etc/env.d/docbook_xml", @env)
|
||||
|
||||
depends_on 'xmlcatmgr'
|
||||
depends_on 'docbook_xml412'
|
||||
|
||||
Reference in New Issue
Block a user