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
cc8aead9
Commit
cc8aead9
authored
Aug 13, 2018
by
Chris Thurber
Committed by
GitHub
Aug 13, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2549 from uberhacker/add-far-package
Add far package
parents
be9c6cc7
dbc54ebe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
packages/far.rb
packages/far.rb
+29
-0
No files found.
packages/far.rb
0 → 100644
View file @
cc8aead9
require
'package'
class
Far
<
Package
description
'Search and replace operations on file content across multiple files.'
homepage
'http://findandreplace.sourceforge.net'
version
'2.0.2'
source_url
'https://prdownloads.sourceforge.net/project/findandreplace/findandreplace/2.0.2/FAR-2.0.2-x.tar.gz'
source_sha256
'0b2c796bdcc088be960f15cb4e348f8af62f74afbdacc188c3c101c2f502204d'
binary_url
({
})
binary_sha256
({
})
depends_on
'jdk8'
depends_on
'sommelier'
def
self
.
build
system
"echo '#!/bin/bash' > far"
system
"echo 'cd
#{
CREW_PREFIX
}
/share/far' >> far"
system
"echo './far.sh' >> far"
end
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/far"
system
"cp -r .
#{
CREW_DEST_PREFIX
}
/share/far"
system
"install -Dm755 far
#{
CREW_DEST_PREFIX
}
/bin/far"
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