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
a2b7f9f0
Commit
a2b7f9f0
authored
Jan 10, 2020
by
Ed Reel
Committed by
Chris Thurber
Jan 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add netbeans package (#3764)
parent
4e28ae26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
packages/netbeans.rb
packages/netbeans.rb
+30
-0
No files found.
packages/netbeans.rb
0 → 100644
View file @
a2b7f9f0
require
'package'
class
Netbeans
<
Package
description
'Apache NetBeans IDE is free open source software to quickly and easily develop desktop, mobile, and web applications with Java, JavaScript, HTML5, PHP, C/C++ and more.'
homepage
'https://netbeans.org/'
version
'11.2'
source_url
'http://www.gtlib.gatech.edu/pub/apache/netbeans/netbeans/11.2/netbeans-11.2-bin.zip'
source_sha256
'6f3f77b042bddaa1e100f133747d0f59bad437adcdc662efda5fc961a170bb2d'
depends_on
'jdk8'
depends_on
'sommelier'
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/netbeans"
FileUtils
.
rm
Dir
.
glob
(
'bin/*.exe'
)
FileUtils
.
mv
Dir
.
glob
(
'*'
),
"
#{
CREW_DEST_PREFIX
}
/share/netbeans"
FileUtils
.
ln_s
"
#{
CREW_PREFIX
}
/share/netbeans/bin/netbeans"
,
"
#{
CREW_DEST_PREFIX
}
/bin/netbeans"
end
def
self
.
postinstall
puts
puts
"Type 'netbeans' to get started."
.
lightblue
puts
puts
"To remove, including all plugins and preferences, execute the following:"
.
lightblue
puts
"crew remove netbeans"
.
lightblue
puts
"rm -rf ~/.netbeans"
.
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