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
0032cbb6
Commit
0032cbb6
authored
May 26, 2021
by
Ed Reel
Committed by
GitHub
May 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update far from 2.0.2 to 2.0.3 (#5810)
parent
1cfb09f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
packages/far.rb
packages/far.rb
+11
-8
No files found.
packages/far.rb
View file @
0032cbb6
...
...
@@ -3,11 +3,11 @@ 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
'
version
'2.0.
3
'
license
'GPL-3'
compatibility
'all'
source_url
'https://
prdownloads.sourceforge.net/project/findandreplace/findandreplace/2.0.2/FAR-2.0.2
-x.tar.gz'
source_sha256
'
0b2c796bdcc088be960f15cb4e348f8af62f74afbdacc188c3c101c2f502204d
'
source_url
'https://
downloads.sourceforge.net/project/findandreplace/findandreplace/2.0.3/FAR-2.0.3
-x.tar.gz'
source_sha256
'
d0e8406b08833be398476e3482a657998cd89e429025989f87cd35added5bedf
'
binary_url
({
})
...
...
@@ -18,14 +18,17 @@ class Far < Package
depends_on
'sommelier'
def
self
.
build
system
"echo '#!/bin/bash' > far"
system
"echo 'cd
#{
CREW_PREFIX
}
/share/far' >> far"
system
"echo './far.sh' >> far"
@far
=
<<~
EOF
#!/bin/bash
cd
#{
CREW_PREFIX
}
/share/far
./far.sh "$@"
EOF
File
.
write
(
'far'
,
@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"
FileUtils
.
cp_r
Dir
[
'.'
],
"
#{
CREW_DEST_PREFIX
}
/share/far"
FileUtils
.
install
'far'
,
"
#{
CREW_DEST_PREFIX
}
/bin/far"
,
mode:
0
o755
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