Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
b0764b63
Commit
b0764b63
authored
Nov 03, 2017
by
Casey Strouse
Committed by
GitHub
Nov 03, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1188 from uberhacker/add-msttcorefonts-package
Add msttcorefonts package
parents
e54ebae9
760ed712
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
packages/msttcorefonts.rb
packages/msttcorefonts.rb
+34
-0
No files found.
packages/msttcorefonts.rb
0 → 100644
View file @
b0764b63
require
'package'
class
Msttcorefonts
<
Package
description
"An easy way to install Microsoft's TrueType core fonts on Linux"
homepage
'http://corefonts.sourceforge.net/'
version
'3.6'
source_url
'http://http.debian.net/debian/pool/contrib/m/msttcorefonts/msttcorefonts_3.6.tar.gz'
source_sha256
'c23a2c519acad44fb65dfdd5b6f7de7b351ec15394df52cc744e3c6deb51d42f'
binary_url
({
})
binary_sha256
({
})
depends_on
'cabextract'
def
self
.
build
# Since there is no configure script available, some modifications to prevent a 'file not found'
# message and writes to read-only directories were necessary in the update-ms-fonts script.
system
"sed -i '61icp cabfiles.sha256sums
\$
SCRATCHDIR/' update-ms-fonts"
system
"sed -i 's,/var/lib/msttcorefonts/,,g' update-ms-fonts"
system
"sed -i 's,/usr/share,
#{
CREW_DEST_PREFIX
}
/share,g' update-ms-fonts"
end
def
self
.
install
system
"./update-ms-fonts"
end
def
self
.
postinstall
puts
puts
"Fonts are installed in
#{
CREW_PREFIX
}
/share/fonts/truetype/msttcorefonts."
.
lightblue
puts
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment